Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
# WARNING: It is not recommended to hardcode sensitive data like API tokens in code.
|
6 |
# Consider using environment variables or other secure methods for production applications.
|
7 |
API_URL = "https://deployment.datasaur.ai/api/deployment/8/2717/chat/completions"
|
8 |
-
API_TOKEN = os.environ["
|
9 |
|
10 |
def magic_function(input_text):
|
11 |
"""
|
|
|
5 |
# WARNING: It is not recommended to hardcode sensitive data like API tokens in code.
|
6 |
# Consider using environment variables or other secure methods for production applications.
|
7 |
API_URL = "https://deployment.datasaur.ai/api/deployment/8/2717/chat/completions"
|
8 |
+
API_TOKEN = os.environ["DATASAUR_API_KEY"]
|
9 |
|
10 |
def magic_function(input_text):
|
11 |
"""
|