Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def huggingface_chat_history(input, history=[]):
|
|
| 13 |
# make request to Hugging Face model API
|
| 14 |
response = requests.post(
|
| 15 |
"https://api-inference.huggingface.co/models/microsoft/DialoGPT-medium",
|
| 16 |
-
headers={"Authorization": "
|
| 17 |
json=payload
|
| 18 |
)
|
| 19 |
|
|
|
|
| 13 |
# make request to Hugging Face model API
|
| 14 |
response = requests.post(
|
| 15 |
"https://api-inference.huggingface.co/models/microsoft/DialoGPT-medium",
|
| 16 |
+
headers={"Authorization": "ChatGPT"},
|
| 17 |
json=payload
|
| 18 |
)
|
| 19 |
|