Update app.py
Browse files
app.py
CHANGED
|
@@ -200,6 +200,12 @@ def build_demo(embed_mode, concurrency_count=1):
|
|
| 200 |
with gr.Column(scale=8):
|
| 201 |
# Output components
|
| 202 |
output_img = gr.Image(type="pil", label="Output Image")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
output_coords = gr.Textbox(label="Clickable Coordinates")
|
| 204 |
|
| 205 |
# Buttons for voting, flagging, regenerating, and clearing
|
|
|
|
| 200 |
with gr.Column(scale=8):
|
| 201 |
# Output components
|
| 202 |
output_img = gr.Image(type="pil", label="Output Image")
|
| 203 |
+
# Add a note below the image to explain the red point
|
| 204 |
+
gr.Markdown(
|
| 205 |
+
"""
|
| 206 |
+
**Note:** The red point on the output image represents the predicted clickable coordinates.
|
| 207 |
+
"""
|
| 208 |
+
)
|
| 209 |
output_coords = gr.Textbox(label="Clickable Coordinates")
|
| 210 |
|
| 211 |
# Buttons for voting, flagging, regenerating, and clearing
|