Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -695,12 +695,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 695 |
""")
|
| 696 |
|
| 697 |
if __name__ == "__main__":
|
| 698 |
-
|
| 699 |
-
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
|
|
|
| 695 |
""")
|
| 696 |
|
| 697 |
if __name__ == "__main__":
|
| 698 |
+
demo.queue(
|
| 699 |
+
concurrency_count=1,
|
| 700 |
+
max_size=10,
|
| 701 |
+
api_open=False
|
| 702 |
+
).launch(
|
| 703 |
+
server_name="0.0.0.0",
|
| 704 |
+
server_port=7860,
|
| 705 |
+
show_error=True
|
| 706 |
+
)
|