Skip to content

Commit 60e6ace

Browse files
committed
Remove 'Flag' button from image UI
1 parent 52ce858 commit 60e6ace

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web-apps/image-analysis/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def analyze_image(image_url, prompt):
115115
gr.Textbox(label="Prompt/Question", elem_id="prompt", scale=2),
116116
],
117117
outputs=[gr.Image(label="Image"), gr.Textbox(label="Results")],
118+
allow_flagging='never',
118119
title=settings.page_title,
119120
description=settings.page_description,
120121
examples=[[ex.image_url, ex.prompt] for ex in settings.examples],

0 commit comments

Comments
 (0)