Spaces:
Runtime error
Runtime error
Commit
·
6a648dd
1
Parent(s):
11970de
add some description
Browse files
app.py
CHANGED
|
@@ -99,12 +99,12 @@ def main():
|
|
| 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
|
| 103 |
-
description="Upload a UI image and enter a text finding prompt to see the model's prediction. \
|
| 104 |
)
|
| 105 |
|
| 106 |
iface.launch(server_name="0.0.0.0")
|
| 107 |
-
|
| 108 |
|
| 109 |
if __name__ == "__main__":
|
| 110 |
main()
|
|
|
|
| 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: A **Text-only** Click Model",
|
| 103 |
+
description="PTA is a small part of our bigger model - PTA-1 (Prompt-To-Automation). \nInstructions: Upload a UI image and enter a text finding prompt to see the model's prediction. \nLimitations: Currently, limited to single screen images."
|
| 104 |
)
|
| 105 |
|
| 106 |
iface.launch(server_name="0.0.0.0")
|
| 107 |
+
|
| 108 |
|
| 109 |
if __name__ == "__main__":
|
| 110 |
main()
|