benfunke98 commited on
Commit
f566d39
·
verified ·
1 Parent(s): e7b4367

edited access token

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,8 +6,7 @@ import os
6
  import io
7
  import json
8
 
9
- with open("secret.txt", "r") as file:
10
- access_token = file.read().strip()
11
 
12
  # NOTE - we configure docs_url to serve the interactive Docs at the root path
13
  # of the app. This way, we can use the docs as a landing page for the app on Spaces.
 
6
  import io
7
  import json
8
 
9
+ access_token = os.getenv("access_token")
 
10
 
11
  # NOTE - we configure docs_url to serve the interactive Docs at the root path
12
  # of the app. This way, we can use the docs as a landing page for the app on Spaces.