Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,6 @@ HF_TOKEN = os.environ["HF_PROJECT_TOKEN"]
|
|
| 8 |
|
| 9 |
HEADERS = {
|
| 10 |
"Authorization": f"Bearer {HF_TOKEN}",
|
| 11 |
-
"Content-Type": "application/json"
|
| 12 |
}
|
| 13 |
|
| 14 |
# Correctly format the prompt string with {user_prompt} placeholder inside the string
|
|
|
|
| 8 |
|
| 9 |
HEADERS = {
|
| 10 |
"Authorization": f"Bearer {HF_TOKEN}",
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
# Correctly format the prompt string with {user_prompt} placeholder inside the string
|