Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -432,4 +432,9 @@ iface = gr.Interface(
|
|
| 432 |
],
|
| 433 |
outputs=gr.File(label="Download Excel")
|
| 434 |
)
|
| 435 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 432 |
],
|
| 433 |
outputs=gr.File(label="Download Excel")
|
| 434 |
)
|
| 435 |
+
if __name__ == "__main__":
|
| 436 |
+
try:
|
| 437 |
+
iface.close() # Close existing instance if it exists
|
| 438 |
+
except:
|
| 439 |
+
pass
|
| 440 |
+
iface.launch()
|