Nav772 commited on
Commit
5c5cf2d
·
verified ·
1 Parent(s): 04fe45a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ class BasicAgent:
14
  def __init__(self):
15
  print("Mistral Instruct Agent initialized.")
16
  self.api_token = os.getenv("HF_API_TOKEN")
17
- self.api_url = "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1"
18
  self.headers = {
19
  "Authorization": f"Bearer {self.api_token}",
20
  "Content-Type": "application/json"
 
14
  def __init__(self):
15
  print("Mistral Instruct Agent initialized.")
16
  self.api_token = os.getenv("HF_API_TOKEN")
17
+ self.api_url = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1"
18
  self.headers = {
19
  "Authorization": f"Bearer {self.api_token}",
20
  "Content-Type": "application/json"