GilbertoEwaldFilho commited on
Commit
12537dd
·
verified ·
1 Parent(s): 2acd1c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -75,7 +75,7 @@ class BasicAgent:
75
  Agente simples que usa diretamente o InferenceClient do Hugging Face
76
  para responder as questões do GAIA.
77
 
78
- Não usa ferramentas externas (search), mas é MUITO mais estável no Space.
79
  """
80
 
81
  def __init__(self):
@@ -87,13 +87,12 @@ class BasicAgent:
87
  "HF_TOKEN not found! Configure it como Secret em Settings → Variables."
88
  )
89
 
90
- # escolha de modelo (pode trocar por outro compatível com Inference API)
91
  self.client = InferenceClient(
92
- model="Qwen/Qwen2.5-72B-Instruct",
93
  token=hf_token,
94
  )
95
 
96
- # prompt base com regras de EXACT MATCH
97
  self.system_instructions = (
98
  "You are solving GAIA benchmark questions.\n"
99
  "Rules:\n"
 
75
  Agente simples que usa diretamente o InferenceClient do Hugging Face
76
  para responder as questões do GAIA.
77
 
78
+ Não usa ferramentas externas (search), mas é estável no Space.
79
  """
80
 
81
  def __init__(self):
 
87
  "HF_TOKEN not found! Configure it como Secret em Settings → Variables."
88
  )
89
 
90
+ # 🔹 Modelo que suporta text-generation via Inference API
91
  self.client = InferenceClient(
92
+ model="mistralai/Mixtral-8x7B-Instruct-v0.1",
93
  token=hf_token,
94
  )
95
 
 
96
  self.system_instructions = (
97
  "You are solving GAIA benchmark questions.\n"
98
  "Rules:\n"