CCockrum commited on
Commit
e55abed
·
verified ·
1 Parent(s): b95ba21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,12 +8,12 @@ import tempfile
8
  import numpy as np
9
 
10
  # Your Hugging Face API Token
11
- HF_TOKEN = os.getenv("HF_TOKEN")
12
 
13
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.3"
14
 
15
  headers = {
16
- "Authorization": f"Bearer {HF_TOKEN}"
17
  }
18
 
19
  def query_mistral(question):
 
8
  import numpy as np
9
 
10
  # Your Hugging Face API Token
11
+ HF_TOKEN = os.getenv("HF_Token")
12
 
13
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.3"
14
 
15
  headers = {
16
+ "Authorization": f"Bearer {HF_Token}"
17
  }
18
 
19
  def query_mistral(question):