kiyer commited on
Commit
ec448a7
β€’
1 Parent(s): f28b621

updated logo and landing page

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. app.py +4 -3
  3. pages/3_answering_questions.py +1 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -1,11 +1,11 @@
1
  import streamlit as st
2
 
3
  st.set_page_config(
4
- page_title="Pathfinder (formerly arXiv-GPT)",
5
  page_icon="πŸ‘‹",
6
  )
7
 
8
- st.write("# Welcome to Pathfinder! πŸ‘‹")
9
  st.image('local_files/pathfinder_logo.png',caption="Pathfinder: LLM enabled literature search")
10
  st.sidebar.success("Select a function above.")
11
  st.sidebar.markdown("Current functions include visualizing papers in the arxiv embedding, searching for similar papers to an input paper or prompt phrase, or answering quick questions.")
@@ -37,7 +37,8 @@ st.markdown(
37
  """
38
  )
39
 
40
- st.image('https://drive.google.com/uc?id=1yQQCdlgnFzi-_yOMplGIqEyPKJhIsZpO&export=download')
 
41
 
42
  st.markdown(
43
  """
 
1
  import streamlit as st
2
 
3
  st.set_page_config(
4
+ page_title="Pathfinder",
5
  page_icon="πŸ‘‹",
6
  )
7
 
8
+ # st.write("# Welcome to Pathfinder! πŸ‘‹")
9
  st.image('local_files/pathfinder_logo.png',caption="Pathfinder: LLM enabled literature search")
10
  st.sidebar.success("Select a function above.")
11
  st.sidebar.markdown("Current functions include visualizing papers in the arxiv embedding, searching for similar papers to an input paper or prompt phrase, or answering quick questions.")
 
37
  """
38
  )
39
 
40
+ # st.image('https://drive.google.com/uc?id=1yQQCdlgnFzi-_yOMplGIqEyPKJhIsZpO&export=download')
41
+ st.image('local_files/galaxy_worldmap_kiyer-min.png')
42
 
43
  st.markdown(
44
  """
pages/3_answering_questions.py CHANGED
@@ -330,6 +330,7 @@ def run_rag(query, return_n = 10, show_authors = True, show_summary = True):
330
  plt.scatter(e2d[0:,0], e2d[0:,1],s=2)
331
  plt.scatter(e2d[simids,0], e2d[simids,1],s=30)
332
  plt.scatter(e2d[abs_indices,0], e2d[abs_indices,1],s=100,color='k',marker='d')
 
333
  st.pyplot(fig)
334
 
335
  st.markdown('\n #### List of relevant papers:')
 
330
  plt.scatter(e2d[0:,0], e2d[0:,1],s=2)
331
  plt.scatter(e2d[simids,0], e2d[simids,1],s=30)
332
  plt.scatter(e2d[abs_indices,0], e2d[abs_indices,1],s=100,color='k',marker='d')
333
+ plt.title('localization for question: '+query)
334
  st.pyplot(fig)
335
 
336
  st.markdown('\n #### List of relevant papers:')