Spaces:
Sleeping
Sleeping
Commit
·
950178e
1
Parent(s):
4911842
Layout changes
Browse files
app.py
CHANGED
@@ -62,8 +62,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
62 |
|
63 |
submit_btn.click(ocr_inference, inputs=[image, width_ths], outputs=ocr_out)
|
64 |
|
65 |
-
examples_obj = gr.Examples(examples=examples, inputs=[image, width_ths])
|
66 |
-
|
67 |
with gr.Row():
|
68 |
with gr.Column():
|
69 |
text = gr.Textbox(label="Question", type="text")
|
@@ -75,4 +73,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
75 |
|
76 |
chat_submit_btn.click(inference, inputs=[text], outputs=[chat_out])
|
77 |
|
|
|
|
|
78 |
demo.launch()
|
|
|
62 |
|
63 |
submit_btn.click(ocr_inference, inputs=[image, width_ths], outputs=ocr_out)
|
64 |
|
|
|
|
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
text = gr.Textbox(label="Question", type="text")
|
|
|
73 |
|
74 |
chat_submit_btn.click(inference, inputs=[text], outputs=[chat_out])
|
75 |
|
76 |
+
examples_obj = gr.Examples(examples=examples, inputs=[image, width_ths])
|
77 |
+
|
78 |
demo.launch()
|