Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -115,8 +115,8 @@ def process_refexp(image: Image, prompt: str):
|
|
115 |
|
116 |
|
117 |
title = "Demo: Donut π© for UI RefExp (by GuardianUI)"
|
118 |
-
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. Read more at the links below."
|
119 |
-
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
|
120 |
examples = [["example_1.jpg", "select the setting icon from top right corner"],
|
121 |
["example_1.jpg", "click on down arrow beside the entertainment"],
|
122 |
["example_1.jpg", "select the down arrow button beside lifestyle"],
|
|
|
115 |
|
116 |
|
117 |
title = "Demo: Donut π© for UI RefExp (by GuardianUI)"
|
118 |
+
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. See the model training <a href='https://colab.research.google.com/github/ivelin/donut_ui_refexp/blob/main/Fine_tune_Donut_on_UI_RefExp.ipynb' target='_parent'>Colab Notebook</a> for this space. Read more at the links below."
|
119 |
+
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>"
|
120 |
examples = [["example_1.jpg", "select the setting icon from top right corner"],
|
121 |
["example_1.jpg", "click on down arrow beside the entertainment"],
|
122 |
["example_1.jpg", "select the down arrow button beside lifestyle"],
|