Skip to content

Commit

Permalink
Remove 'Flag' button from image UI
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Nov 4, 2024
1 parent 52ce858 commit 60e6ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-apps/image-analysis/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def analyze_image(image_url, prompt):
gr.Textbox(label="Prompt/Question", elem_id="prompt", scale=2),
],
outputs=[gr.Image(label="Image"), gr.Textbox(label="Results")],
allow_flagging='never',
title=settings.page_title,
description=settings.page_description,
examples=[[ex.image_url, ex.prompt] for ex in settings.examples],
Expand Down

0 comments on commit 60e6ace

Please sign in to comment.