Ubik80 commited on
Commit
0f7b0e3
·
1 Parent(s): 5d8281c

added new model3

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
3
 
4
  # Inizializza il modello e l'agente
5
  search_tool = DuckDuckGoSearchTool()
6
- model = HfApiModel(model_id="mistralai/Mistral-7B-Instruct")
7
  agent = CodeAgent(model=model, tools=[search_tool])
8
 
9
  # Funzione per analizzare le notizie
 
3
 
4
  # Inizializza il modello e l'agente
5
  search_tool = DuckDuckGoSearchTool()
6
+ model = HfApiModel(model_id="HuggingFaceH4/zephyr-7b-beta")
7
  agent = CodeAgent(model=model, tools=[search_tool])
8
 
9
  # Funzione per analizzare le notizie