Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,12 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
-
from dotenv import load_dotenv
|
4 |
import base64
|
5 |
from requests import post, get
|
6 |
import json
|
7 |
|
8 |
# set up
|
9 |
-
|
10 |
-
|
11 |
-
client_id = os.getenv("CLIENT_ID")
|
12 |
-
client_secret = os.getenv("CLIENT_SECRET")
|
13 |
|
14 |
def get_token():
|
15 |
auth_string = client_id + ":" + client_secret
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
|
|
3 |
import base64
|
4 |
from requests import post, get
|
5 |
import json
|
6 |
|
7 |
# set up
|
8 |
+
client_id = os.environ["CLIENT_ID"]
|
9 |
+
client_secret = os.environ["CLIENT_SECRET"]
|
|
|
|
|
10 |
|
11 |
def get_token():
|
12 |
auth_string = client_id + ":" + client_secret
|