Spaces:
Running
Running
increase timeout to 5min
Browse files
app.py
CHANGED
|
@@ -246,7 +246,7 @@ if user_input:
|
|
| 246 |
|
| 247 |
# Poll the queue in the main thread for up to 5 seconds
|
| 248 |
final_response = ""
|
| 249 |
-
timeout =
|
| 250 |
start_time = time.time()
|
| 251 |
while True:
|
| 252 |
try:
|
|
|
|
| 246 |
|
| 247 |
# Poll the queue in the main thread for up to 5 seconds
|
| 248 |
final_response = ""
|
| 249 |
+
timeout = 300 # seconds
|
| 250 |
start_time = time.time()
|
| 251 |
while True:
|
| 252 |
try:
|