awacke1 commited on
Commit
d5351ba
β€’
1 Parent(s): 1f4323d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,11 +91,11 @@ def search_arxiv(query):
91
  client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
92
  search_query = query
93
  #top_n_results = st.slider(key='topnresults', label="Top n results as context", min_value=4, max_value=100, value=100)
94
- search_source = st.selectbox("Search Source", ["Semantic Search - up to 10 Mar 2024", "Arxiv Search - Latest - (EXPERIMENTAL)"])
95
- llm_model = st.selectbox("LLM Model", ["mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.2", "google/gemma-7b-it", "None"])
96
 
97
 
98
- st.markdown('### πŸ”Ž ' + query)
99
 
100
 
101
  result = client.predict(
 
91
  client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
92
  search_query = query
93
  #top_n_results = st.slider(key='topnresults', label="Top n results as context", min_value=4, max_value=100, value=100)
94
+ search_source = st.sidebar.selectbox("Search Source", ["Semantic Search - up to 10 Mar 2024", "Arxiv Search - Latest - (EXPERIMENTAL)"])
95
+ llm_model = st.sidebar.selectbox("LLM Model", ["mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.2", "google/gemma-7b-it", "None"])
96
 
97
 
98
+ st.sidebar.markdown('### πŸ”Ž ' + query)
99
 
100
 
101
  result = client.predict(