Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ async def proxy(request: Request):
|
|
| 116 |
# 5. Read response with timeout and robust JSON detection
|
| 117 |
logger.info("Reading response from subprocess with timeout...")
|
| 118 |
response = bytearray()
|
| 119 |
-
timeout_seconds =
|
| 120 |
start_time = asyncio.get_event_loop().time()
|
| 121 |
|
| 122 |
try:
|
|
|
|
| 116 |
# 5. Read response with timeout and robust JSON detection
|
| 117 |
logger.info("Reading response from subprocess with timeout...")
|
| 118 |
response = bytearray()
|
| 119 |
+
timeout_seconds = 60
|
| 120 |
start_time = asyncio.get_event_loop().time()
|
| 121 |
|
| 122 |
try:
|