JerryGao commited on
Commit
68419fe
·
verified ·
1 Parent(s): cd9cc73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -35,12 +35,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
 
37
  final_answer = FinalAnswerTool()
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
 
45
 
46
  # Import tool from Hub
 
35
 
36
 
37
  final_answer = FinalAnswerTool()
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
+ model = HfApiModel(max_tokens=2096)
45
 
46
 
47
  # Import tool from Hub