Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,11 +35,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
)
|
| 44 |
|
| 45 |
# Import tool from Hub
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
+
|
| 39 |
+
model = HfApiModel(
|
| 40 |
+
max_tokens=2096,
|
| 41 |
+
temperature=0.5,
|
| 42 |
+
model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
| 43 |
+
custom_role_conversions=None,
|
| 44 |
)
|
| 45 |
|
| 46 |
# Import tool from Hub
|