awacke1 commited on
Commit
564d9f6
1 Parent(s): a2ba750

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,7 +90,7 @@ def search_arxiv(query):
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', "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
 
@@ -1346,7 +1346,7 @@ What is SORA?
1346
 
1347
  collength, colupload = st.columns([2,3]) # adjust the ratio as needed
1348
  with collength:
1349
- max_length = st.slider(key='maxlength', "File section length for large files", min_value=1000, max_value=128000, value=12000, step=1000)
1350
  with colupload:
1351
  uploaded_file = st.file_uploader("Add a file for context:", type=["pdf", "xml", "json", "xlsx", "csv", "html", "htm", "md", "txt"])
1352
  document_sections = deque()
 
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.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
 
 
1346
 
1347
  collength, colupload = st.columns([2,3]) # adjust the ratio as needed
1348
  with collength:
1349
+ max_length = st.slider(key='maxlength', label="File section length for large files", min_value=1000, max_value=128000, value=12000, step=1000)
1350
  with colupload:
1351
  uploaded_file = st.file_uploader("Add a file for context:", type=["pdf", "xml", "json", "xlsx", "csv", "html", "htm", "md", "txt"])
1352
  document_sections = deque()