Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,14 +168,14 @@ with gr.Blocks() as demo:
|
|
| 168 |
|
| 169 |
clear_button = gr.ClearButton([chatbot, chat_input])
|
| 170 |
|
| 171 |
-
PORT = 7950
|
| 172 |
-
demo.launch(server_port=PORT, show_api = True, allowed_paths = [],
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
|
|
|
| 168 |
|
| 169 |
clear_button = gr.ClearButton([chatbot, chat_input])
|
| 170 |
|
| 171 |
+
# PORT = 7950
|
| 172 |
+
# demo.launch(server_port=PORT, show_api = True, allowed_paths = [],
|
| 173 |
+
# root_path = f"https://dsw-gateway.alibaba-inc.com/dsw81322/proxy/{PORT}/")
|
| 174 |
+
|
| 175 |
+
demo.launch(
|
| 176 |
+
share=False,
|
| 177 |
+
inbrowser=True,
|
| 178 |
+
server_port=7950,
|
| 179 |
+
server_name="0.0.0.0",
|
| 180 |
+
max_threads=40
|
| 181 |
+
)
|