Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,12 +60,11 @@ demo = setup_interface(DESCRIPTION, css)
|
|
| 60 |
demo.app.mount("/file", StaticFiles(directory="."), name="file")
|
| 61 |
|
| 62 |
if __name__ == "__main__":
|
| 63 |
-
demo.launch(
|
| 64 |
server_name="0.0.0.0",
|
| 65 |
server_port=7860,
|
| 66 |
share=False,
|
| 67 |
-
debug=True
|
| 68 |
-
enable_queue=True
|
| 69 |
)
|
| 70 |
else:
|
| 71 |
app = demo.app
|
|
|
|
| 60 |
demo.app.mount("/file", StaticFiles(directory="."), name="file")
|
| 61 |
|
| 62 |
if __name__ == "__main__":
|
| 63 |
+
demo.queue(max_size=20).launch(
|
| 64 |
server_name="0.0.0.0",
|
| 65 |
server_port=7860,
|
| 66 |
share=False,
|
| 67 |
+
debug=True
|
|
|
|
| 68 |
)
|
| 69 |
else:
|
| 70 |
app = demo.app
|