Spaces:
Sleeping
Sleeping
edited access token
Browse files
app.py
CHANGED
@@ -6,8 +6,7 @@ import os
|
|
6 |
import io
|
7 |
import json
|
8 |
|
9 |
-
|
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.
|