Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,6 +20,12 @@ def search(labels, image):
|
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
-
demo = gr.Interface(search,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
demo.launch(debug=True)
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
+
demo = gr.Interface(search,
|
| 24 |
+
[gr.Textbox(label="labels",info="separate labels with ',' "),gr.Image(type="pil")],
|
| 25 |
+
[gr.Textbox(label="most probable label")],
|
| 26 |
+
examples=[["حصان, كلب, قطة", "cat.png"]],
|
| 27 |
+
theme="ocean",
|
| 28 |
+
title="AraClip"
|
| 29 |
+
)
|
| 30 |
|
| 31 |
demo.launch(debug=True)
|