jbaselga commited on
Commit
1e72cc2
verified
1 Parent(s): b25e942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,6 +2,7 @@ from smolagents import CodeAgent, WebSearchTool, PythonInterpreterTool, Inferenc
2
  import requests
3
  import os
4
 
 
5
  # --- 1. API GAIA ---
6
  HF_TOKEN = os.getenv("token_curso")
7
 
@@ -31,7 +32,8 @@ def submit_answers(answers: dict):
31
 
32
  # --- 2. Configuraci贸n del agente ---
33
  # model = InferenceClientModel(model="mistralai/Mistral-7B-Instruct-v0.2")
34
- model = InferenceClientModel(model="HuggingFaceH4/zephyr-7b-beta")
 
35
  print(model)
36
  tools = [
37
  WebSearchTool(), # B煤squeda web (usa DuckDuckGo)
 
2
  import requests
3
  import os
4
 
5
+ print("smolagents version:", smolagents.__version__)
6
  # --- 1. API GAIA ---
7
  HF_TOKEN = os.getenv("token_curso")
8
 
 
32
 
33
  # --- 2. Configuraci贸n del agente ---
34
  # model = InferenceClientModel(model="mistralai/Mistral-7B-Instruct-v0.2")
35
+ # model = InferenceClientModel(model="HuggingFaceH4/zephyr-7b-beta")
36
+ model = InferenceClientModel(model="Qwen/Qwen1.5-7B-Chat")
37
  print(model)
38
  tools = [
39
  WebSearchTool(), # B煤squeda web (usa DuckDuckGo)