Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def huggingface_chatbot(user_input):
|
|
27 |
return "Error: Hugging Face API key not configured."
|
28 |
try:
|
29 |
headers = {
|
30 |
-
"Authorization": f"Bearer{HUGGINGFACE_API_KEY}",
|
31 |
"Content-Type": "application/json"
|
32 |
}
|
33 |
data = {
|
|
|
27 |
return "Error: Hugging Face API key not configured."
|
28 |
try:
|
29 |
headers = {
|
30 |
+
"Authorization": f"Bearer {HUGGINGFACE_API_KEY}",
|
31 |
"Content-Type": "application/json"
|
32 |
}
|
33 |
data = {
|