Facelook commited on
Commit
f9377e8
·
1 Parent(s): 6111ed7

Trial and error.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
18
  print("BasicAgent initialized.")
19
 
20
  print("Loading huggingface default model...")
21
- self.client = InferenceClient(token=os.getenv("HF_TOKEN"))
22
 
23
  def __call__(self, question: str) -> str:
24
  print(f"Agent received question (first 50 chars): {question[:50]}...")
@@ -169,7 +169,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
169
 
170
  # --- Build Gradio Interface using Blocks ---
171
  with gr.Blocks() as demo:
172
- gr.Markdown("# Basic Agent Evaluation Runner #11")
173
  gr.Markdown(
174
  """
175
  **Instructions:**
 
18
  print("BasicAgent initialized.")
19
 
20
  print("Loading huggingface default model...")
21
+ self.client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.3", token=os.getenv("HF_TOKEN"))
22
 
23
  def __call__(self, question: str) -> str:
24
  print(f"Agent received question (first 50 chars): {question[:50]}...")
 
169
 
170
  # --- Build Gradio Interface using Blocks ---
171
  with gr.Blocks() as demo:
172
+ gr.Markdown("# Basic Agent Evaluation Runner #12")
173
  gr.Markdown(
174
  """
175
  **Instructions:**