Yew Chong commited on
Commit
e0cfe13
1 Parent(s): e7fd01f
Files changed (1) hide show
  1. streamlit/app8.py +2 -2
streamlit/app8.py CHANGED
@@ -11,8 +11,6 @@ import inspect
11
  currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
12
  parentdir = os.path.dirname(currentdir)
13
  sys.path.append(parentdir)
14
- import db_firestore as db
15
-
16
 
17
  ## ----------------------------------------------------------------
18
  ## LLM Part
@@ -46,6 +44,8 @@ if not os.path.isfile("../.streamlit/secrets.toml"):
46
  print('made new file')
47
 
48
 
 
 
49
  ## Load from streamlit!!
50
  os.environ["HF_TOKEN"] = os.environ.get("HF_TOKEN") or st.secrets["HF_TOKEN"]
51
  os.environ["OPENAI_API_KEY"] = os.environ.get("OPENAI_API_KEY") or st.secrets["OPENAI_API_KEY"]
 
11
  currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
12
  parentdir = os.path.dirname(currentdir)
13
  sys.path.append(parentdir)
 
 
14
 
15
  ## ----------------------------------------------------------------
16
  ## LLM Part
 
44
  print('made new file')
45
 
46
 
47
+ import db_firestore as db
48
+
49
  ## Load from streamlit!!
50
  os.environ["HF_TOKEN"] = os.environ.get("HF_TOKEN") or st.secrets["HF_TOKEN"]
51
  os.environ["OPENAI_API_KEY"] = os.environ.get("OPENAI_API_KEY") or st.secrets["OPENAI_API_KEY"]