jfataphd commited on
Commit
52cb791
1 Parent(s): 74b9f32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -107,7 +107,7 @@ opt = st.sidebar.radio("Select a PubMed Corpus (1990-2022)", options=(
107
  'Lymphoma Cancer corpus', 'Leukemia Cancer corpus', 'Brain Cancer corpus',
108
  'Prostate Cancer corpus', 'Liver Cancer corpus', 'Uterine Cancer corpus', 'Urinary Cancer corpus',
109
  'Kidney Cancer corpus', 'Stomach Cancer corpus', 'Cervical Cancer corpus', 'Ovarian Cancer corpus',
110
- 'Pancreas Cancer corpus', 'Thyroid Cancer corpus'
111
  ))
112
  # if opt == "Clotting corpus":
113
  # model_used = ("pubmed_model_clotting")
@@ -202,6 +202,11 @@ if opt == "Stomach Cancer corpus":
202
  num_abstracts = 53249
203
  database_name = "stomach_cancer"
204
  st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
 
 
 
 
 
205
 
206
  st.header(f":blue[{database_name} Pubmed corpus.]")
207
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")
 
107
  'Lymphoma Cancer corpus', 'Leukemia Cancer corpus', 'Brain Cancer corpus',
108
  'Prostate Cancer corpus', 'Liver Cancer corpus', 'Uterine Cancer corpus', 'Urinary Cancer corpus',
109
  'Kidney Cancer corpus', 'Stomach Cancer corpus', 'Cervical Cancer corpus', 'Ovarian Cancer corpus',
110
+ 'Pancreas Cancer corpus', 'Thyroid Cancer corpus', 'Neuroblastoma'
111
  ))
112
  # if opt == "Clotting corpus":
113
  # model_used = ("pubmed_model_clotting")
 
202
  num_abstracts = 53249
203
  database_name = "stomach_cancer"
204
  st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
205
+ if opt == "Neuroblastoma Cancer corpus":
206
+ model_used = ("neuroblastoma_cancer_pubmed_model")
207
+ num_abstracts = 19820
208
+ database_name = "Neuroblastoma_cancer"
209
+ st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
210
 
211
  st.header(f":blue[{database_name} Pubmed corpus.]")
212
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")