Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,10 +114,7 @@ def detect_object(image):
|
|
| 114 |
return processed_image, processed_audio
|
| 115 |
|
| 116 |
|
| 117 |
-
examples = [
|
| 118 |
-
["example1.jpg"],
|
| 119 |
-
["example2.jpg"]
|
| 120 |
-
]
|
| 121 |
|
| 122 |
demo = gr.Interface(fn=detect_object,
|
| 123 |
inputs=[gr.Image(label="Select Image",type="pil")],
|
|
|
|
| 114 |
return processed_image, processed_audio
|
| 115 |
|
| 116 |
|
| 117 |
+
examples = [["example{}.jpg".format(i)] for i in range(1, 15)]
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
demo = gr.Interface(fn=detect_object,
|
| 120 |
inputs=[gr.Image(label="Select Image",type="pil")],
|