awacke1 commited on
Commit
fdf88cc
โ€ข
1 Parent(s): be511bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -88,11 +88,15 @@ def search_arxiv(query):
88
 
89
  # Show ArXiv Scholary Articles! ----------------*************-------------***************----------------------------------------
90
  st.title("โ–ถ๏ธ Semantic and Episodic Memory System")
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(key='searchsource', label="Search Source", args=["Semantic Search - up to 10 Mar 2024", "Arxiv Search - Latest - (EXPERIMENTAL)"])
95
- llm_model = st.sidebar.selectbox(key='llmmodel', label="LLM Model", ["mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.2", "google/gemma-7b-it", "None"])
 
 
 
96
  st.sidebar.markdown('### ๐Ÿ”Ž ' + query)
97
  result = client.predict(
98
  search_query,
 
88
 
89
  # Show ArXiv Scholary Articles! ----------------*************-------------***************----------------------------------------
90
  st.title("โ–ถ๏ธ Semantic and Episodic Memory System")
91
+ client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
92
+
93
  search_query = query
94
  #top_n_results = st.slider(key='topnresults', label="Top n results as context", min_value=4, max_value=100, value=100)
95
+ #search_source = st.sidebar.selectbox(key='searchsource', label="Search Source", ["Semantic Search - up to 10 Mar 2024", "Arxiv Search - Latest - (EXPERIMENTAL)"])
96
+ search_source = "Arxiv Search - Latest - (EXPERIMENTAL)" # "Semantic Search - up to 10 Mar 2024"
97
+ #llm_model = st.sidebar.selectbox(key='llmmodel', label="LLM Model", ["mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.2", "google/gemma-7b-it", "None"])
98
+ llm_model = "mistralai/Mixtral-8x7B-Instruct-v0.1"
99
+
100
  st.sidebar.markdown('### ๐Ÿ”Ž ' + query)
101
  result = client.predict(
102
  search_query,