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