Spaces:
Sleeping
Sleeping
Commit
·
91e31f2
1
Parent(s):
990adae
changed timeout
Browse files
main.py
CHANGED
|
@@ -189,7 +189,7 @@ async def chat_completions(
|
|
| 189 |
# Need JSONResponse
|
| 190 |
from fastapi.responses import JSONResponse
|
| 191 |
|
| 192 |
-
async with httpx.AsyncClient(timeout=
|
| 193 |
try:
|
| 194 |
# Serialize payload manually
|
| 195 |
payload_bytes = json.dumps(flowith_payload.dict()).encode('utf-8')
|
|
|
|
| 189 |
# Need JSONResponse
|
| 190 |
from fastapi.responses import JSONResponse
|
| 191 |
|
| 192 |
+
async with httpx.AsyncClient(timeout=600.0) as client:
|
| 193 |
try:
|
| 194 |
# Serialize payload manually
|
| 195 |
payload_bytes = json.dumps(flowith_payload.dict()).encode('utf-8')
|