Spaces:
Build error
Build error
Commit
·
0aa883f
1
Parent(s):
aeed8f1
fix
Browse files
app.py
CHANGED
|
@@ -251,5 +251,5 @@ def handle_download(data):
|
|
| 251 |
else:
|
| 252 |
emit('download_progress', {'progress': 100, 'status': 'completed'})
|
| 253 |
|
| 254 |
-
if __name__ ==
|
| 255 |
-
socketio.run(app, host='0.0.0.0', port=
|
|
|
|
| 251 |
else:
|
| 252 |
emit('download_progress', {'progress': 100, 'status': 'completed'})
|
| 253 |
|
| 254 |
+
if __name__ == "__main__":
|
| 255 |
+
socketio.run(app, host='0.0.0.0', port=7860, allow_unsafe_werkzeug=True)
|