Spaces:
Sleeping
Sleeping
Commit
·
4755e97
1
Parent(s):
54dff76
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,8 +44,6 @@ if file is not None:
|
|
| 44 |
# latest_iteration.text(f'Iteration {i+1}')
|
| 45 |
# bar.progress(i + 1)
|
| 46 |
# time.sleep(0.1)
|
| 47 |
-
|
| 48 |
-
st.spinner(text="In progress...")
|
| 49 |
|
| 50 |
# collect the results in the dictionary:
|
| 51 |
textdic_easyocr = {}
|
|
@@ -62,6 +60,8 @@ if file is not None:
|
|
| 62 |
|
| 63 |
# get boxes on the image
|
| 64 |
rectangle(image, result)
|
|
|
|
|
|
|
| 65 |
|
| 66 |
else:
|
| 67 |
st.write("Upload your image")
|
|
|
|
| 44 |
# latest_iteration.text(f'Iteration {i+1}')
|
| 45 |
# bar.progress(i + 1)
|
| 46 |
# time.sleep(0.1)
|
|
|
|
|
|
|
| 47 |
|
| 48 |
# collect the results in the dictionary:
|
| 49 |
textdic_easyocr = {}
|
|
|
|
| 60 |
|
| 61 |
# get boxes on the image
|
| 62 |
rectangle(image, result)
|
| 63 |
+
|
| 64 |
+
st.spinner(text="In progress...")
|
| 65 |
|
| 66 |
else:
|
| 67 |
st.write("Upload your image")
|