merve HF staff commited on
Commit
46d5a11
β€’
1 Parent(s): 7062e70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -70,12 +70,11 @@ def infer_box(prompts, text_prompts):
70
  with gr.Blocks(title="UDOP") as demo:
71
  gr.Markdown("# UDOP")
72
  gr.Markdown("UDOP is a cutting-edge foundation model for a document understanding and generation.")
73
- gr.Markdown("Try UDOP in this demo.")
74
 
75
  with gr.Row():
76
  with gr.Column(scale=1):
77
  # Title
78
- gr.Markdown("To try box prompting, simply upload and image and draw a box on it.")
79
  with gr.Row():
80
  with gr.Column():
81
  im = ImagePrompter(type="pil")
 
70
  with gr.Blocks(title="UDOP") as demo:
71
  gr.Markdown("# UDOP")
72
  gr.Markdown("UDOP is a cutting-edge foundation model for a document understanding and generation.")
73
+ 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.")
74
 
75
  with gr.Row():
76
  with gr.Column(scale=1):
77
  # Title
 
78
  with gr.Row():
79
  with gr.Column():
80
  im = ImagePrompter(type="pil")