EJ-L
commited on
Commit
·
4d6cc91
1
Parent(s):
a4fdcb3
Remove examples, add instructions
Browse files
app.py
CHANGED
|
@@ -169,14 +169,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 169 |
model_output_box = gr.Textbox(label="Model Output Box")
|
| 170 |
annotated_image = gr.Image(label="Annotated Image")
|
| 171 |
|
| 172 |
-
gr.
|
| 173 |
-
examples=[
|
| 174 |
-
["assets/web_6f93090a-81f6-489e-bb35-1a2838b18c01.png", "select search textfield"],
|
| 175 |
-
["assets/web_6f93090a-81f6-489e-bb35-1a2838b18c01.png", "switch to discussions"],
|
| 176 |
-
],
|
| 177 |
-
inputs=[input_img, text_input],
|
| 178 |
-
# remove fn/outputs so examples only prefill inputs
|
| 179 |
-
)
|
| 180 |
|
| 181 |
submit_btn.click(
|
| 182 |
run_example,
|
|
|
|
| 169 |
model_output_box = gr.Textbox(label="Model Output Box")
|
| 170 |
annotated_image = gr.Image(label="Annotated Image")
|
| 171 |
|
| 172 |
+
gr.Markdown("### Instructions: Upload a UI screenshot and describe what you want to find!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
submit_btn.click(
|
| 175 |
run_example,
|