Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,6 +150,6 @@ if __name__ == "__main__":
|
|
| 150 |
for i, bbox in enumerate(bbox_list):
|
| 151 |
input_img = pil_image.crop(bbox)
|
| 152 |
rec_res, elapse = model(np.array(input_img))
|
| 153 |
-
st.markdown(f"#### {i + 1}")
|
| 154 |
st.latex(rec_res)
|
| 155 |
st.code(rec_res)
|
|
|
|
| 150 |
for i, bbox in enumerate(bbox_list):
|
| 151 |
input_img = pil_image.crop(bbox)
|
| 152 |
rec_res, elapse = model(np.array(input_img))
|
| 153 |
+
st.markdown(f"#### {i + 1} (cost: {elapse:.3f}s)")
|
| 154 |
st.latex(rec_res)
|
| 155 |
st.code(rec_res)
|