Thousif1702 commited on
Commit
85a29f6
·
verified ·
1 Parent(s): a4f0662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ def my_custom_tool(arg1:str)-> str: #it's import to specify the return type
16
  arg1: A string with Country name
17
 
18
  """
19
- return f"The current president of the {arg1} is: "
20
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
@@ -42,7 +42,7 @@ final_answer = FinalAnswerTool()
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
45
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
46
  custom_role_conversions=None,
47
  )
48
 
 
16
  arg1: A string with Country name
17
 
18
  """
19
+ return f"The current president of the {arg1} is: Thousif and is elected by people"
20
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
 
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
45
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
46
  custom_role_conversions=None,
47
  )
48