Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ with gr.Blocks(title="Grantha Full OCR", theme=gr.themes.Soft()) as demo:
|
|
| 115 |
out_img = gr.Image(type="pil", label="Segmentation Debug")
|
| 116 |
|
| 117 |
btn = gr.Button("🔍 Read Text", variant="primary")
|
| 118 |
-
out_text = gr.Textbox(label="Recognized Text", lines=10
|
| 119 |
|
| 120 |
btn.click(fn=process_paragraph, inputs=inp, outputs=[out_img, out_text])
|
| 121 |
|
|
|
|
| 115 |
out_img = gr.Image(type="pil", label="Segmentation Debug")
|
| 116 |
|
| 117 |
btn = gr.Button("🔍 Read Text", variant="primary")
|
| 118 |
+
out_text = gr.Textbox(label="Recognized Text", lines=10)
|
| 119 |
|
| 120 |
btn.click(fn=process_paragraph, inputs=inp, outputs=[out_img, out_text])
|
| 121 |
|