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

added new model from aws

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="HuggingFaceH4/zephyr-7b-beta")
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="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/")
7
  agent = CodeAgent(model=model, tools=[search_tool])
8
 
9
  # Funzione per analizzare le notizie