Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -561,7 +561,7 @@ details > summary { transition: color 0.2s ease; }
|
|
| 561 |
details > summary:hover { color: #E9D5FF !important; }
|
| 562 |
"""
|
| 563 |
|
| 564 |
-
with gr.Blocks(theme=purple_theme, css=custom_css) as demo:
|
| 565 |
session_id_state = gr.State("")
|
| 566 |
user_api_key_state = gr.State("")
|
| 567 |
user_api_base_state = gr.State("")
|
|
@@ -694,4 +694,4 @@ with gr.Blocks(theme=purple_theme, css=custom_css) as demo:
|
|
| 694 |
|
| 695 |
if __name__ == "__main__":
|
| 696 |
# 并发放宽至 5
|
| 697 |
-
demo.queue(default_concurrency_limit=5).launch()
|
|
|
|
| 561 |
details > summary:hover { color: #E9D5FF !important; }
|
| 562 |
"""
|
| 563 |
|
| 564 |
+
with gr.Blocks(theme=purple_theme, css=custom_css, ssr=False) as demo:
|
| 565 |
session_id_state = gr.State("")
|
| 566 |
user_api_key_state = gr.State("")
|
| 567 |
user_api_base_state = gr.State("")
|
|
|
|
| 694 |
|
| 695 |
if __name__ == "__main__":
|
| 696 |
# 并发放宽至 5
|
| 697 |
+
demo.queue(default_concurrency_limit=5).launch(server_name="0.0.0.0", server_port=7860)
|