Ubik80 commited on
Commit
5d8281c
·
1 Parent(s): 8699ecb

added new model2

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-v0.1")
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="mistralai/Mistral-7B-Instruct")
7
  agent = CodeAgent(model=model, tools=[search_tool])
8
 
9
  # Funzione per analizzare le notizie