Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdded: timeout: 300
app.py
CHANGED
|
@@ -24,11 +24,7 @@ def get_llm():
|
|
| 24 |
max_new_tokens=512,
|
| 25 |
temperature=0.1,
|
| 26 |
huggingfacehub_api_token=token,
|
| 27 |
-
|
| 28 |
-
client_kwargs={
|
| 29 |
-
"max_retries": 3,
|
| 30 |
-
"timeout": 30
|
| 31 |
-
}
|
| 32 |
)
|
| 33 |
return llm
|
| 34 |
|
|
|
|
| 24 |
max_new_tokens=512,
|
| 25 |
temperature=0.1,
|
| 26 |
huggingfacehub_api_token=token,
|
| 27 |
+
timeout: 300
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
)
|
| 29 |
return llm
|
| 30 |
|