jfataphd commited on
Commit
487a6b2
1 Parent(s): 1c03796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -98,7 +98,7 @@ st.markdown("---")
98
  # if authenticate(password):
99
  opt = st.sidebar.radio("Select a PubMed Corpus", options=(
100
  'Breast Cancer corpus', 'Skin Cancer corpus', 'Lung Cancer corpus', 'Colorectal Cancer corpus',
101
- 'Lymphoma Cancer corpus', 'Prostate Cancer corpus', 'Uterine Cancer corpus', 'Urinary Cancer corpus',
102
  'Kidney Cancer corpus'
103
  ))
104
  # if opt == "Clotting corpus":
@@ -145,6 +145,10 @@ if opt == "Uterine Cancer corpus":
145
  model_used = ("uterine_cancer_pubmed_model")
146
  num_abstracts = 72634
147
  database_name = "Uterine_cancer"
 
 
 
 
148
 
149
  st.header(f":blue[{database_name} Pubmed corpus.]")
150
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")
 
98
  # if authenticate(password):
99
  opt = st.sidebar.radio("Select a PubMed Corpus", options=(
100
  'Breast Cancer corpus', 'Skin Cancer corpus', 'Lung Cancer corpus', 'Colorectal Cancer corpus',
101
+ 'Leukemia Cancer corpus','Lymphoma Cancer corpus', 'Prostate Cancer corpus', 'Uterine Cancer corpus', 'Urinary Cancer corpus',
102
  'Kidney Cancer corpus'
103
  ))
104
  # if opt == "Clotting corpus":
 
145
  model_used = ("uterine_cancer_pubmed_model")
146
  num_abstracts = 72634
147
  database_name = "Uterine_cancer"
148
+ if opt == "Leukemia Cancer corpus":
149
+ model_used = ("leukemia_cancer_pubmed_model")
150
+ num_abstracts = 107145
151
+ database_name = "Leukemia_cancer"
152
 
153
  st.header(f":blue[{database_name} Pubmed corpus.]")
154
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")