Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import os
|
|
| 7 |
API_URL = "https://api.hyperbolic.xyz/v1/chat/completions"
|
| 8 |
API_HEADERS = {
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
-
"Authorization": "
|
| 11 |
}
|
| 12 |
|
| 13 |
print("API_HEADERS:", API_HEADERS)
|
|
|
|
| 7 |
API_URL = "https://api.hyperbolic.xyz/v1/chat/completions"
|
| 8 |
API_HEADERS = {
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
+
"Authorization": f"Bearer {os.environ['API_TOKEN']}"
|
| 11 |
}
|
| 12 |
|
| 13 |
print("API_HEADERS:", API_HEADERS)
|