Snapspark commited on
Commit
ba9f85e
·
verified ·
1 Parent(s): 5bdf6e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
 
4
  # This uses a free Hugging Face API model (no credit card needed)
5
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
6
- HEADERS = {"Authorization": "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"} # You'll get this in step 2 below
7
 
8
  def chat_with_ai(prompt, history):
9
  if not prompt.strip():
 
3
 
4
  # This uses a free Hugging Face API model (no credit card needed)
5
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
6
+ HEADERS = {"Authorization": "Bearer YOUR_HF_TOKEN"} # You'll get this in step 2 below
7
 
8
  def chat_with_ai(prompt, history):
9
  if not prompt.strip():