Danialebrat commited on
Commit
a728d3c
·
1 Parent(s): 611579f

Fixing bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 st.secrets.get(key) or os.getenv(key)
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: