Commit ·
a728d3c
1
Parent(s): 611579f
Fixing bug
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def load_config_(file_path: str) -> dict:
|
|
| 22 |
return json.load(f)
|
| 23 |
|
| 24 |
def get_credential(key):
|
| 25 |
-
return
|
| 26 |
|
| 27 |
|
| 28 |
def init_state() -> None:
|
|
|
|
| 22 |
return json.load(f)
|
| 23 |
|
| 24 |
def get_credential(key):
|
| 25 |
+
return os.getenv(key) or st.secrets.get(key)
|
| 26 |
|
| 27 |
|
| 28 |
def init_state() -> None:
|