Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -225,9 +225,9 @@ img_cap_ui = gr.Interface(
|
|
225 |
title="Image Captioning with Automactic Evaluation",
|
226 |
description="Caution: this is a research experiment for personal use, please review the captions before using.",
|
227 |
inputs=gr.inputs.Image(type="filepath",label="Add your image"),
|
228 |
-
outputs=[gr.Textbox(label="Caption from the git-coco model"),
|
229 |
-
gr.Textbox(label="Caption from the nlp-connect model"),
|
230 |
-
gr.Textbox(label="Suggested caption after automatic evaluation")],
|
231 |
examples=["image_31.jpg","image_41.jpg","image_48.jpg", "image_50.jpg"],
|
232 |
article="The caption evaluation method use a simple voting scheme from outputs of 2 additional models. This is an experiment, please make edit if you use the generated caption.",
|
233 |
theme=gr.themes.Soft()
|
|
|
225 |
title="Image Captioning with Automactic Evaluation",
|
226 |
description="Caution: this is a research experiment for personal use, please review the captions before using.",
|
227 |
inputs=gr.inputs.Image(type="filepath",label="Add your image"),
|
228 |
+
outputs=[gr.Textbox(label="Caption from the git-coco model", show_copy_button=True),
|
229 |
+
gr.Textbox(label="Caption from the nlp-connect model", show_copy_button=True),
|
230 |
+
gr.Textbox(label="Suggested caption after automatic evaluation", show_copy_button=True)],
|
231 |
examples=["image_31.jpg","image_41.jpg","image_48.jpg", "image_50.jpg"],
|
232 |
article="The caption evaluation method use a simple voting scheme from outputs of 2 additional models. This is an experiment, please make edit if you use the generated caption.",
|
233 |
theme=gr.themes.Soft()
|