Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import os
|
|
| 4 |
|
| 5 |
# Third-party API endpoint and headers
|
| 6 |
|
| 7 |
-
API_URL = "https://
|
| 8 |
API_HEADERS = {
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
"Authorization": f"Bearer {os.environ['API_TOKEN']}"
|
|
|
|
| 4 |
|
| 5 |
# Third-party API endpoint and headers
|
| 6 |
|
| 7 |
+
API_URL = "https://huggingface.co/api/inference-proxy/together/v1/chat/completions"
|
| 8 |
API_HEADERS = {
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
"Authorization": f"Bearer {os.environ['API_TOKEN']}"
|