Spaces:
Runtime error
Runtime error
Update app.py: change server port :D
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
|
|
22 |
This demo using fine-tuned OCR-VQA-Donut model to answer questions about images.
|
23 |
|
24 |
Feel free to try it out!
|
25 |
-
|
26 |
""")
|
27 |
question = gr.Textbox(lines=5, label="Question")
|
28 |
answer = gr.Label(label="Answer")
|
@@ -30,4 +30,4 @@ with gr.Blocks() as demo:
|
|
30 |
|
31 |
ask.click(get_answer, inputs=[image, question], outputs=[answer])
|
32 |
|
33 |
-
demo.launch(
|
|
|
22 |
This demo using fine-tuned OCR-VQA-Donut model to answer questions about images.
|
23 |
|
24 |
Feel free to try it out!
|
25 |
+
|
26 |
""")
|
27 |
question = gr.Textbox(lines=5, label="Question")
|
28 |
answer = gr.Label(label="Answer")
|
|
|
30 |
|
31 |
ask.click(get_answer, inputs=[image, question], outputs=[answer])
|
32 |
|
33 |
+
demo.launch()
|