Spaces:
Runtime error
Runtime error
fangxia
commited on
Commit
•
16e3a48
1
Parent(s):
a750521
fix bug
Browse files
app.py
CHANGED
@@ -63,8 +63,10 @@ with gr.Blocks(css="style.css") as demo:
|
|
63 |
)
|
64 |
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
69 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
70 |
)
|
|
|
63 |
)
|
64 |
|
65 |
|
66 |
+
# concurrency_count, concurrency_limit, max_threads
|
67 |
+
demo.queue(api_open=False, max_size=1000).launch(
|
68 |
+
server_name="0.0.0.0", # if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
69 |
+
share=True,
|
70 |
+
server_port=7860,
|
71 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
72 |
)
|