Spaces:
Runtime error
Runtime error
Commit
·
11970de
1
Parent(s):
4c219e4
add instructions
Browse files
app.py
CHANGED
@@ -97,10 +97,10 @@ def main():
|
|
97 |
iface = gr.Interface(
|
98 |
fn=inference.process_image_and_draw_circle,
|
99 |
inputs=[gr.Image(type="pil", label = "Upload Image"),
|
100 |
-
gr.Textbox(label = "Prompt", placeholder=
|
101 |
outputs=gr.Image(type="pil"),
|
102 |
-
title="
|
103 |
-
description="Upload
|
104 |
)
|
105 |
|
106 |
iface.launch(server_name="0.0.0.0")
|
|
|
97 |
iface = gr.Interface(
|
98 |
fn=inference.process_image_and_draw_circle,
|
99 |
inputs=[gr.Image(type="pil", label = "Upload Image"),
|
100 |
+
gr.Textbox(label = "Prompt", placeholder='Enter a prompt to find in the image', default='Click on the text "Login"')],
|
101 |
outputs=gr.Image(type="pil"),
|
102 |
+
title="PTA Text: Prompt-To-Automation UI domain **for Text**",
|
103 |
+
description="Upload a UI image and enter a text finding prompt to see the model's prediction. \n For instance, click on the text 'Login'"
|
104 |
)
|
105 |
|
106 |
iface.launch(server_name="0.0.0.0")
|