Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def main():
|
|
111 |
gr.Markdown(OCR_TR_DESCRIPTION)
|
112 |
|
113 |
# -------------- OCR 文字提取 --------------
|
114 |
-
with gr.
|
115 |
|
116 |
with gr.Row():
|
117 |
gr.Markdown("### Step 01: 文字提取")
|
@@ -148,7 +148,7 @@ def main():
|
|
148 |
gr.Examples(example_list, [inputs_img, inputs_lang], outputs_text, ocr_tesseract, cache_examples=False)
|
149 |
|
150 |
# -------------- 翻译 --------------
|
151 |
-
with gr.
|
152 |
|
153 |
with gr.Row():
|
154 |
gr.Markdown("### Step 02: 翻译")
|
|
|
111 |
gr.Markdown(OCR_TR_DESCRIPTION)
|
112 |
|
113 |
# -------------- OCR 文字提取 --------------
|
114 |
+
with gr.Blocks():
|
115 |
|
116 |
with gr.Row():
|
117 |
gr.Markdown("### Step 01: 文字提取")
|
|
|
148 |
gr.Examples(example_list, [inputs_img, inputs_lang], outputs_text, ocr_tesseract, cache_examples=False)
|
149 |
|
150 |
# -------------- 翻译 --------------
|
151 |
+
with gr.Blocks():
|
152 |
|
153 |
with gr.Row():
|
154 |
gr.Markdown("### Step 02: 翻译")
|