Update app.py
Browse files
app.py
CHANGED
|
@@ -571,11 +571,7 @@ with gr.Blocks(css=css, title="DeepTranslate: Chinese OCR") as program:
|
|
| 571 |
gr.Markdown("## DeepTranslate: Chinese OCR with translation to English")
|
| 572 |
gr.Markdown("Upload or select an image and move the slider to detect characters.")
|
| 573 |
gr.Markdown("Make sure that the input image is high resolution and not rotated in any way!")
|
| 574 |
-
|
| 575 |
-
# Show loading status
|
| 576 |
-
with gr.Row():
|
| 577 |
-
gr.Markdown("🟢 YOLO Model: Loaded | 🟢 Classifier: Loaded | 🟡 Translation: Loading on demand")
|
| 578 |
-
|
| 579 |
#inputs
|
| 580 |
with gr.Column(scale=1):
|
| 581 |
if example_images:
|
|
|
|
| 571 |
gr.Markdown("## DeepTranslate: Chinese OCR with translation to English")
|
| 572 |
gr.Markdown("Upload or select an image and move the slider to detect characters.")
|
| 573 |
gr.Markdown("Make sure that the input image is high resolution and not rotated in any way!")
|
| 574 |
+
gr.Markdown("Spaces is very slow since its running on a 2 core cpu, expect translation times of 2-4 minutes. (12 seconds on a 4080)")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 575 |
#inputs
|
| 576 |
with gr.Column(scale=1):
|
| 577 |
if example_images:
|