Spaces:
Running
Running
hertogateis
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,14 +3,13 @@ import requests
|
|
3 |
import os
|
4 |
|
5 |
# Third-party API endpoint and headers
|
6 |
-
|
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)
|
14 |
|
15 |
# Define the bot's persona
|
16 |
BOT_PERSONA = (
|
|
|
3 |
import os
|
4 |
|
5 |
# Third-party API endpoint and headers
|
6 |
+
|
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 |
|
14 |
# Define the bot's persona
|
15 |
BOT_PERSONA = (
|