datasaur-dev commited on
Commit
c3cb308
·
verified ·
1 Parent(s): fe8ae01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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["DATASAUR_API_TOKEN"]
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
  """