Spaces:
Runtime error
Runtime error
Hector Lopez
commited on
Commit
·
95d9d45
1
Parent(s):
c3a2d46
Added closing ports before launching
Browse files
app.py
CHANGED
|
@@ -44,6 +44,8 @@ examples = [
|
|
| 44 |
['example_imgs/basura_3.jpg', 0.5, 0.5]
|
| 45 |
]
|
| 46 |
|
|
|
|
|
|
|
| 47 |
gr.Interface(
|
| 48 |
waste_detector_interface,
|
| 49 |
inputs,
|
|
@@ -52,4 +54,4 @@ gr.Interface(
|
|
| 52 |
description=description,
|
| 53 |
examples=examples,
|
| 54 |
theme="huggingface",
|
| 55 |
-
).launch(share=True, enable_queue=True
|
|
|
|
| 44 |
['example_imgs/basura_3.jpg', 0.5, 0.5]
|
| 45 |
]
|
| 46 |
|
| 47 |
+
gr.close_all()
|
| 48 |
+
|
| 49 |
gr.Interface(
|
| 50 |
waste_detector_interface,
|
| 51 |
inputs,
|
|
|
|
| 54 |
description=description,
|
| 55 |
examples=examples,
|
| 56 |
theme="huggingface",
|
| 57 |
+
).launch(share=True, enable_queue=True)
|