Update app.py
Browse files
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 {
|
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):
|