Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,13 +129,6 @@ def search_arxiv(query):
|
|
| 129 |
SpeechSynthesis(result) # Search History Reader / Writer IO Memory - Audio at Same time as Reading.
|
| 130 |
filename=generate_filename(result, "md")
|
| 131 |
create_file(filename, query, result, should_save)
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
#file_type = st.radio("Select Which Type of Memory You Prefer:", ("Semantic", "Episodic"))
|
| 135 |
-
#if st.button("Save"):
|
| 136 |
-
# file_name = save_file(result, file_type)
|
| 137 |
-
# st.success(f"File saved: {file_name}")
|
| 138 |
-
|
| 139 |
saved_files = [f for f in os.listdir(".") if f.endswith(".md")]
|
| 140 |
selected_file = st.sidebar.selectbox("Saved Files", saved_files)
|
| 141 |
|
|
@@ -149,7 +142,7 @@ def search_arxiv(query):
|
|
| 149 |
|
| 150 |
# Set page configuration with a title and favicon
|
| 151 |
st.set_page_config(
|
| 152 |
-
page_title="ππ
|
| 153 |
page_icon="ππππ",
|
| 154 |
layout="wide",
|
| 155 |
initial_sidebar_state="expanded",
|
|
@@ -211,9 +204,6 @@ def display_glossary_entity(k):
|
|
| 211 |
st.markdown(f"{k} {links_md}", unsafe_allow_html=True)
|
| 212 |
|
| 213 |
|
| 214 |
-
|
| 215 |
-
#st.markdown('''### πβ¨π Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-AP ''')
|
| 216 |
-
|
| 217 |
roleplaying_glossary = {
|
| 218 |
"π€ AI Concepts": {
|
| 219 |
"MoE (Mixture of Experts) π§ ": [
|
|
@@ -1284,7 +1274,7 @@ if 'query' in st.query_params:
|
|
| 1284 |
# st.experimental_rerun()
|
| 1285 |
|
| 1286 |
|
| 1287 |
-
st.markdown("### π²πΊοΈ
|
| 1288 |
|
| 1289 |
filename = save_and_play_audio(audio_recorder)
|
| 1290 |
if filename is not None:
|
|
|
|
| 129 |
SpeechSynthesis(result) # Search History Reader / Writer IO Memory - Audio at Same time as Reading.
|
| 130 |
filename=generate_filename(result, "md")
|
| 131 |
create_file(filename, query, result, should_save)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
saved_files = [f for f in os.listdir(".") if f.endswith(".md")]
|
| 133 |
selected_file = st.sidebar.selectbox("Saved Files", saved_files)
|
| 134 |
|
|
|
|
| 142 |
|
| 143 |
# Set page configuration with a title and favicon
|
| 144 |
st.set_page_config(
|
| 145 |
+
page_title="ππScholarly Article Document Search Memory",
|
| 146 |
page_icon="ππππ",
|
| 147 |
layout="wide",
|
| 148 |
initial_sidebar_state="expanded",
|
|
|
|
| 204 |
st.markdown(f"{k} {links_md}", unsafe_allow_html=True)
|
| 205 |
|
| 206 |
|
|
|
|
|
|
|
|
|
|
| 207 |
roleplaying_glossary = {
|
| 208 |
"π€ AI Concepts": {
|
| 209 |
"MoE (Mixture of Experts) π§ ": [
|
|
|
|
| 1274 |
# st.experimental_rerun()
|
| 1275 |
|
| 1276 |
|
| 1277 |
+
st.markdown("### π²πΊοΈ Scholarly Article Document Search Memory")
|
| 1278 |
|
| 1279 |
filename = save_and_play_audio(audio_recorder)
|
| 1280 |
if filename is not None:
|