Spaces:
Paused
Paused
Update EdgeGPT.py
Browse files- EdgeGPT.py +2 -2
EdgeGPT.py
CHANGED
@@ -314,7 +314,7 @@ class _Conversation:
|
|
314 |
proxy = "socks5://" + proxy[len("socks5h://") :]
|
315 |
self.session = httpx.Client(
|
316 |
proxies=proxy,
|
317 |
-
timeout=
|
318 |
headers=HEADERS_INIT_CONVER,
|
319 |
)
|
320 |
for cookie in cookies:
|
@@ -369,7 +369,7 @@ class _Conversation:
|
|
369 |
transport = httpx.AsyncHTTPTransport(retries=10)
|
370 |
async with httpx.AsyncClient(
|
371 |
proxies=proxy,
|
372 |
-
timeout=
|
373 |
headers=HEADERS_INIT_CONVER,
|
374 |
transport=transport,
|
375 |
) as client:
|
|
|
314 |
proxy = "socks5://" + proxy[len("socks5h://") :]
|
315 |
self.session = httpx.Client(
|
316 |
proxies=proxy,
|
317 |
+
timeout=120,
|
318 |
headers=HEADERS_INIT_CONVER,
|
319 |
)
|
320 |
for cookie in cookies:
|
|
|
369 |
transport = httpx.AsyncHTTPTransport(retries=10)
|
370 |
async with httpx.AsyncClient(
|
371 |
proxies=proxy,
|
372 |
+
timeout=120,
|
373 |
headers=HEADERS_INIT_CONVER,
|
374 |
transport=transport,
|
375 |
) as client:
|