yannis2025 commited on
Commit
bd8bcd8
·
verified ·
1 Parent(s): 755a927

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -28,9 +28,6 @@ class BasicAgent:
28
  def __call__(self, question: str):
29
  return self.run({"question": question})["answer"]
30
 
31
- # Set up the inference client using the Mistral-7B Instruct model
32
- client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1", token="Mistral-7B")
33
-
34
  def mistral_inference(prompt: str) -> str:
35
  response = client.text_generation(
36
  prompt=prompt,
 
28
  def __call__(self, question: str):
29
  return self.run({"question": question})["answer"]
30
 
 
 
 
31
  def mistral_inference(prompt: str) -> str:
32
  response = client.text_generation(
33
  prompt=prompt,