photo_processor.py: timeout 120с для ИИ
This commit is contained in:
@@ -101,7 +101,7 @@ def _upload_to_api(image_bytes: bytes, user_id: str, coords: tuple) -> dict:
|
|||||||
files={
|
files={
|
||||||
"image": ("photo.jpg", image_bytes, "image/jpeg")
|
"image": ("photo.jpg", image_bytes, "image/jpeg")
|
||||||
},
|
},
|
||||||
timeout=30,
|
timeout=120,
|
||||||
verify=False
|
verify=False
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
|||||||
Reference in New Issue
Block a user