Spaces:
Sleeping
Sleeping
Pointf5ive commited on
Commit Β·
db8f498
1
Parent(s): 5b9892b
Show minimal OCR activity indicator without full progress bar
Browse files- smoke_signal_tab.py +2 -2
smoke_signal_tab.py
CHANGED
|
@@ -1751,7 +1751,7 @@ def smoke_signal_tab():
|
|
| 1751 |
ocr_run_event = ocr_btn.click(
|
| 1752 |
run_ocr,
|
| 1753 |
outputs=[ocr_status, ocr_log],
|
| 1754 |
-
show_progress="
|
| 1755 |
)
|
| 1756 |
|
| 1757 |
# ββ STEP 4: REVIEW ββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
@@ -1850,7 +1850,7 @@ def smoke_signal_tab():
|
|
| 1850 |
ocr_run_event.then(
|
| 1851 |
load_review,
|
| 1852 |
outputs=review_load_outputs,
|
| 1853 |
-
show_progress="
|
| 1854 |
)
|
| 1855 |
accept_btn.click(do_accept, inputs=[current_idx, final_text_box, reviewer_name, reason_code], outputs=action_outputs)
|
| 1856 |
edit_btn.click(do_accept, inputs=[current_idx, final_text_box, reviewer_name, reason_code], outputs=action_outputs)
|
|
|
|
| 1751 |
ocr_run_event = ocr_btn.click(
|
| 1752 |
run_ocr,
|
| 1753 |
outputs=[ocr_status, ocr_log],
|
| 1754 |
+
show_progress="minimal",
|
| 1755 |
)
|
| 1756 |
|
| 1757 |
# ββ STEP 4: REVIEW ββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
| 1850 |
ocr_run_event.then(
|
| 1851 |
load_review,
|
| 1852 |
outputs=review_load_outputs,
|
| 1853 |
+
show_progress="minimal",
|
| 1854 |
)
|
| 1855 |
accept_btn.click(do_accept, inputs=[current_idx, final_text_box, reviewer_name, reason_code], outputs=action_outputs)
|
| 1856 |
edit_btn.click(do_accept, inputs=[current_idx, final_text_box, reviewer_name, reason_code], outputs=action_outputs)
|