NealCaren commited on
Commit
0be104f
·
1 Parent(s): c6fcc72

Update app.py

Browse files

updated links and changed wordings

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -40,7 +40,7 @@ import pandas as pd
40
 
41
  @st.cache
42
  def load_embeddings():
43
- url = "https://drive.google.com/uc?export=download&id=1lFYPqb_XY1RiX52E8OwiNd20Xhmqa20L"
44
  output = "embeddings.npy"
45
  gdown.download(url, output, quiet=False)
46
 
@@ -49,7 +49,7 @@ def load_embeddings():
49
 
50
  @st.cache
51
  def load_data():
52
- url = "https://drive.google.com/uc?export=download&id=1-2GctHHtRV-zChtibGZYLVgCgohnm-br"
53
  output = "passages.jsonl"
54
  gdown.download(url, output, quiet=False)
55
 
@@ -59,9 +59,9 @@ def load_data():
59
  return df
60
 
61
 
62
- st.title('Related Social Movement Articles')
63
 
64
- st.write('This project is a work-in-progress that searches the abstracts of recently-published articles related to social movements and retrieves the most relevant articles.')
65
 
66
 
67
  with st.spinner(text="Loading data..."):
 
40
 
41
  @st.cache
42
  def load_embeddings():
43
+ url = "https://drive.google.com/uc?export=download&id=1-3onsoN6FG6xqL7mplK0_zv8_yFQr_Aa"
44
  output = "embeddings.npy"
45
  gdown.download(url, output, quiet=False)
46
 
 
49
 
50
  @st.cache
51
  def load_data():
52
+ url = "https://drive.google.com/uc?export=download&id=1-7LOACnXQ0OIUq-X0o3Lf0oCari4jjOO"
53
  output = "passages.jsonl"
54
  gdown.download(url, output, quiet=False)
55
 
 
59
  return df
60
 
61
 
62
+ st.title('Related Sociology Articles')
63
 
64
+ st.write('This project is a work-in-progress that searches the abstracts of recently-published sociology articles and retrieves the most abstracts.')
65
 
66
 
67
  with st.spinner(text="Loading data..."):