Spaces:
Runtime error
Runtime error
Commit
·
0498e28
1
Parent(s):
7e259dd
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,9 @@ os.environ["api_key"] == st.secrets["api_key"]
|
|
13 |
#os.environ["OPENAI_API_KEY"] = api_key
|
14 |
openai.api_key = os.getenv("api_key")
|
15 |
|
|
|
16 |
|
|
|
17 |
|
18 |
# Initialize session state
|
19 |
if 'df_final_output' not in st.session_state:
|
|
|
13 |
#os.environ["OPENAI_API_KEY"] = api_key
|
14 |
openai.api_key = os.getenv("api_key")
|
15 |
|
16 |
+
os.environ["GSPREAD_CREDENTIALS"]= st.secrets[GSPREAD_CREDENTIALS]
|
17 |
|
18 |
+
print(type(os.environ["GSPREAD_CREDENTIALS"]))
|
19 |
|
20 |
# Initialize session state
|
21 |
if 'df_final_output' not in st.session_state:
|