Spaces:
Build error
Build error
Commit
·
23b1543
1
Parent(s):
3c27500
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ description = "Demo for Indoor Pet Detection"
|
|
38 |
examples = [['example.jpg']]
|
39 |
|
40 |
|
41 |
-
gr.Interface(predict,
|
42 |
description=description,
|
43 |
# article=article,
|
44 |
examples=examples).launch()
|
|
|
38 |
examples = [['example.jpg']]
|
39 |
|
40 |
|
41 |
+
gr.Interface(predict, inputs=[gr.inputs.Image(type="file"), gr.inputs.Dropdown(["40k_synthetic", "100k_synthetic"])], outputs=gr.outputs.Image(type="pil"),enable_queue=True, title=title,
|
42 |
description=description,
|
43 |
# article=article,
|
44 |
examples=examples).launch()
|