Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -191,7 +191,7 @@ if __name__ == "__main__":
|
|
| 191 |
st.session_state["img"] = img
|
| 192 |
|
| 193 |
if st.session_state["img"] is not None:
|
| 194 |
-
out_img, out_json, elapse
|
| 195 |
if all(v is not None for v in [out_img, out_json, elapse]):
|
| 196 |
st.markdown("#### Visualize:")
|
| 197 |
st.image(out_img)
|
|
|
|
| 191 |
st.session_state["img"] = img
|
| 192 |
|
| 193 |
if st.session_state["img"] is not None:
|
| 194 |
+
out_img, out_json, elapse = inference(select_det, select_rec)
|
| 195 |
if all(v is not None for v in [out_img, out_json, elapse]):
|
| 196 |
st.markdown("#### Visualize:")
|
| 197 |
st.image(out_img)
|