Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ with gr.Blocks() as demo:
|
|
80 |
|
81 |
with gr.Row():
|
82 |
with gr.Column():
|
83 |
-
image_input = gr.Image(type="filepath", label="upload your image"
|
84 |
task_dropdown = gr.Dropdown(
|
85 |
choices=[
|
86 |
"plain texts OCR",
|
@@ -111,7 +111,7 @@ with gr.Blocks() as demo:
|
|
111 |
submit_button = gr.Button("Submit")
|
112 |
|
113 |
with gr.Column():
|
114 |
-
ocr_result = gr.Textbox(label="GOT output"
|
115 |
|
116 |
with gr.Column():
|
117 |
html_show = gr.HTML(f'<a href="/home/user/app/demo.html" target="_blank">Open Demo HTML</a>')
|
|
|
80 |
|
81 |
with gr.Row():
|
82 |
with gr.Column():
|
83 |
+
image_input = gr.Image(type="filepath", label="upload your image")
|
84 |
task_dropdown = gr.Dropdown(
|
85 |
choices=[
|
86 |
"plain texts OCR",
|
|
|
111 |
submit_button = gr.Button("Submit")
|
112 |
|
113 |
with gr.Column():
|
114 |
+
ocr_result = gr.Textbox(label="GOT output")
|
115 |
|
116 |
with gr.Column():
|
117 |
html_show = gr.HTML(f'<a href="/home/user/app/demo.html" target="_blank">Open Demo HTML</a>')
|