ghuman7 commited on
Commit
468924d
·
verified ·
1 Parent(s): 7bbe0a9

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
  # Hugging Face API details
5
  API_URL = "https://api-inference.huggingface.co/models/facebook/blenderbot-400M-distill"
6
- headers = {"Authorization": f"Bearer {api_key}"}
7
 
8
  # Function to query the model
9
  def query(payload):
 
3
 
4
  # Hugging Face API details
5
  API_URL = "https://api-inference.huggingface.co/models/facebook/blenderbot-400M-distill"
6
+ headers = {"Authorization": f"Bearer {rag}"}
7
 
8
  # Function to query the model
9
  def query(payload):