Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def infer_box(prompts, text_prompts):
|
|
77 |
with gr.Blocks(title="UDOP") as demo:
|
78 |
gr.Markdown("# UDOP")
|
79 |
gr.Markdown("UDOP is a cutting-edge foundation model for a document understanding and generation.")
|
80 |
-
gr.Markdown("Try UDOP in this demo. Simply upload a document, draw a box on part of the image you'd like UDOP to work and enter a prompt.")
|
81 |
|
82 |
with gr.Row():
|
83 |
with gr.Column():
|
|
|
77 |
with gr.Blocks(title="UDOP") as demo:
|
78 |
gr.Markdown("# UDOP")
|
79 |
gr.Markdown("UDOP is a cutting-edge foundation model for a document understanding and generation.")
|
80 |
+
gr.Markdown("Try UDOP in this demo. Simply upload a document, draw a box on part of the image you'd like UDOP to work and enter a prompt. If you don't draw a box, the model will take into account the whole image. You can try one of the examples to see how it works.")
|
81 |
|
82 |
with gr.Row():
|
83 |
with gr.Column():
|