Upload app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,6 @@ with gr.Blocks() as demo:
|
|
89 |
outputs=[answer],
|
90 |
)
|
91 |
|
92 |
-
|
93 |
|
94 |
demo.launch(server_port=7860, enable_queue=True) # `enable_queue=True` to ensure the validity of multi-user requests
|
|
|
89 |
outputs=[answer],
|
90 |
)
|
91 |
|
92 |
+
demo.app.servers.timeout = 60000 # Set the maximum return time for the results of accessing the upstream server
|
93 |
|
94 |
demo.launch(server_port=7860, enable_queue=True) # `enable_queue=True` to ensure the validity of multi-user requests
|