kiyer commited on
Commit
8ac24c6
1 Parent(s): de9d93c

update page1 format

Browse files
Files changed (1) hide show
  1. pages/1_paper_search.py +4 -3
pages/1_paper_search.py CHANGED
@@ -11,9 +11,10 @@ from urllib.request import urlopen
11
  from summa import summarizer
12
  import numpy as np
13
 
14
- # openai.organization = "org-EBvNTjd2pLrK4vOhFlNMLr2v"
15
- openai.organization = st.secrets.openai.org
16
- openai.api_key = st.secrets.openai.api_key
 
17
  os.environ["OPENAI_API_KEY"] = openai.api_key
18
 
19
  @st.cache_data
 
11
  from summa import summarizer
12
  import numpy as np
13
 
14
+ # openai.organization = st.secrets.openai.org
15
+ # openai.api_key = st.secrets.openai.api_key
16
+ openai.organization = st.secrets["org"]
17
+ openai.api_key = st.secrets["api_key"]
18
  os.environ["OPENAI_API_KEY"] = openai.api_key
19
 
20
  @st.cache_data