Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,13 @@ import requests
|
|
| 3 |
|
| 4 |
# Replace with your DeepSeek API key and endpoint
|
| 5 |
DEEPSEEK_API_KEY = "sk-cb27c81768e443868a194fad0bb91abc"
|
| 6 |
-
DEEPSEEK_ENDPOINT = "https://api.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# Define the bot's persona
|
| 9 |
BOT_PERSONA = (
|
|
|
|
| 3 |
|
| 4 |
# Replace with your DeepSeek API key and endpoint
|
| 5 |
DEEPSEEK_API_KEY = "sk-cb27c81768e443868a194fad0bb91abc"
|
| 6 |
+
DEEPSEEK_ENDPOINT = "https://api.hyperbolic.xyz/v1/chat/completions"
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
headers = {
|
| 10 |
+
"Content-Type": "application/json",
|
| 11 |
+
"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtaXRyYWxlc3RhcmlwZXJzYWRhQGdtYWlsLmNvbSIsImlhdCI6MTczNjUwMzQxMX0.yuIoZsH1jouAlixx_h_eQ-bltZ1sg4alrJHMHr1axvA"
|
| 12 |
+
}
|
| 13 |
|
| 14 |
# Define the bot's persona
|
| 15 |
BOT_PERSONA = (
|