Spaces:
Runtime error
Runtime error
librarian-bot
commited on
Commit
•
0cc7b2b
1
Parent(s):
75d9f7d
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ assert user
|
|
26 |
|
27 |
headers = {"user-agent": user_agent, "authorization": f"Bearer {token}"}
|
28 |
limits = httpx.Limits(max_keepalive_connections=10, max_connections=20)
|
29 |
-
client = Client(headers=headers,
|
30 |
|
31 |
|
32 |
@lru_cache(maxsize=None)
|
|
|
26 |
|
27 |
headers = {"user-agent": user_agent, "authorization": f"Bearer {token}"}
|
28 |
limits = httpx.Limits(max_keepalive_connections=10, max_connections=20)
|
29 |
+
client = Client(headers=headers, limits=limits, timeout=120.0)
|
30 |
|
31 |
|
32 |
@lru_cache(maxsize=None)
|