Spaces:
Running
Running
mehradans92
commited on
Commit
·
a0656de
1
Parent(s):
277d92a
fixed typo
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ api_key = st.text_input('OpenAI API Key',
|
|
25 |
placeholder='sk-...',
|
26 |
help=f"['What is that?']({api_key_url})",
|
27 |
type="password",
|
28 |
-
value = '
|
29 |
|
30 |
os.environ["OPENAI_API_KEY"] = f"{api_key}" #
|
31 |
if len(api_key) != 51:
|
@@ -45,7 +45,7 @@ def search_click_callback(search_query, max_results, XRxiv_servers=[]):
|
|
45 |
with st.form(key='columns_in_form', clear_on_submit = False):
|
46 |
c1, c2, c3 = st.columns([5, 0.8, 4])
|
47 |
with c1:
|
48 |
-
search_query = st.text_input("Input search query here:", placeholder='Keywords for most relevant search...', value='
|
49 |
)#search_query, max_results_current))
|
50 |
|
51 |
with c2:
|
@@ -104,7 +104,7 @@ with st.form(key='question_form', clear_on_submit = False):
|
|
104 |
c1, c2 = st.columns([6, 2])
|
105 |
with c1:
|
106 |
question_query = st.text_input("What do you wanna know from these papers?", placeholder='Input questions here...',
|
107 |
-
value='
|
108 |
# search_query = st.text_input("Input search query here:", placeholder='Keywords for most relevant search...', value='CFD Modeling'
|
109 |
# )#search_query, max_results_current))
|
110 |
|
|
|
25 |
placeholder='sk-...',
|
26 |
help=f"['What is that?']({api_key_url})",
|
27 |
type="password",
|
28 |
+
value = '')
|
29 |
|
30 |
os.environ["OPENAI_API_KEY"] = f"{api_key}" #
|
31 |
if len(api_key) != 51:
|
|
|
45 |
with st.form(key='columns_in_form', clear_on_submit = False):
|
46 |
c1, c2, c3 = st.columns([5, 0.8, 4])
|
47 |
with c1:
|
48 |
+
search_query = st.text_input("Input search query here:", placeholder='Keywords for most relevant search...', value=''
|
49 |
)#search_query, max_results_current))
|
50 |
|
51 |
with c2:
|
|
|
104 |
c1, c2 = st.columns([6, 2])
|
105 |
with c1:
|
106 |
question_query = st.text_input("What do you wanna know from these papers?", placeholder='Input questions here...',
|
107 |
+
value='')
|
108 |
# search_query = st.text_input("Input search query here:", placeholder='Keywords for most relevant search...', value='CFD Modeling'
|
109 |
# )#search_query, max_results_current))
|
110 |
|