rezzie-rich commited on
Commit
49b1dc4
·
verified ·
1 Parent(s): 635ee16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool,HfApiModel,VLLMModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
@@ -46,10 +46,10 @@ web_search = DuckDuckGoSearchTool()
46
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
47
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
48
 
49
- model = VLLMModel(
50
  max_tokens=4080,
51
  temperature=0.5,
52
- model_id='mistralai/Mistral-Small-24B-Instruct-2501',# it is possible that this model may be overloaded
53
  custom_role_conversions=None,
54
  )
55
 
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool,HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
 
46
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
47
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
48
 
49
+ model = HfApiModel(
50
  max_tokens=4080,
51
  temperature=0.5,
52
+ model_id='unsloth/gemma-3-27b-it-unsloth-bnb-4bit',# it is possible that this model may be overloaded
53
  custom_role_conversions=None,
54
  )
55