Spaces:
Sleeping
Sleeping
Stoyan Georgiev
commited on
Commit
·
2bf84b3
1
Parent(s):
6773cf2
Updated the Space with new features
Browse files- app.py +1 -1
- prompts.yaml +1 -1
app.py
CHANGED
@@ -38,7 +38,7 @@ final_answer = FinalAnswerTool()
|
|
38 |
model = HfApiModel(
|
39 |
max_tokens=2096,
|
40 |
temperature=0.5,
|
41 |
-
model_id='
|
42 |
custom_role_conversions=None,
|
43 |
)
|
44 |
|
|
|
38 |
model = HfApiModel(
|
39 |
max_tokens=2096,
|
40 |
temperature=0.5,
|
41 |
+
model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
42 |
custom_role_conversions=None,
|
43 |
)
|
44 |
|
prompts.yaml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
Here are a few examples using notional tools:
|
13 |
|
14 |
---
|
15 |
-
Task: "What is the current time in
|
16 |
|
17 |
Thought: I will proceed step by step and use the following tool: `get_current_time_in_timezone` to the current time in the given timezone. If the only a city is given, I will create a correct time zone, e.g from "New York" => "America/New York"
|
18 |
Code:
|
|
|
12 |
Here are a few examples using notional tools:
|
13 |
|
14 |
---
|
15 |
+
Task: "What is the current time in a given timezone?"
|
16 |
|
17 |
Thought: I will proceed step by step and use the following tool: `get_current_time_in_timezone` to the current time in the given timezone. If the only a city is given, I will create a correct time zone, e.g from "New York" => "America/New York"
|
18 |
Code:
|