ivelin commited on
Commit
119b1f4
1 Parent(s): 597d5e5

Update app.py

Browse files

Update referring expression for top right icon

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -207,7 +207,7 @@ def process_refexp(image, prompt: str, model_revision: str = 'main', return_anno
207
  title = "Demo: GuardianUI RefExp Click"
208
  description = "Gradio Demo for Donut RefExp task, an instance of `VisionEncoderDecoderModel` fine-tuned on [UIBert RefExp](https://huggingface.co/datasets/ivelin/ui_refexp_saved) Dataset (UI Referring Expression). To use it, simply upload your image and type a prompt and click 'submit', or click one of the examples to load them. Optionally enter value for model git revision; latest checkpoint will be used by default."
209
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
210
- examples = [["example_1.jpg", "select the setting icon from top right corner", "", True],
211
  ["example_1.jpg", "click on down arrow beside the entertainment", "", True],
212
  ["example_1.jpg", "select the down arrow button beside lifestyle", "", True],
213
  ["example_1.jpg", "click on the image beside the option traffic", "", True],
 
207
  title = "Demo: GuardianUI RefExp Click"
208
  description = "Gradio Demo for Donut RefExp task, an instance of `VisionEncoderDecoderModel` fine-tuned on [UIBert RefExp](https://huggingface.co/datasets/ivelin/ui_refexp_saved) Dataset (UI Referring Expression). To use it, simply upload your image and type a prompt and click 'submit', or click one of the examples to load them. Optionally enter value for model git revision; latest checkpoint will be used by default."
209
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.15664' target='_blank'>Donut: OCR-free Document Understanding Transformer</a> | <a href='https://github.com/clovaai/donut' target='_blank'>Github Repo</a></p>"
210
+ examples = [["example_1.jpg", "select the menu icon right of cloud icon at the top", "", True],
211
  ["example_1.jpg", "click on down arrow beside the entertainment", "", True],
212
  ["example_1.jpg", "select the down arrow button beside lifestyle", "", True],
213
  ["example_1.jpg", "click on the image beside the option traffic", "", True],