jfataphd commited on
Commit
1604b8a
1 Parent(s): 6f8b956

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -100,7 +100,7 @@ st.markdown("---")
100
  # if authenticate(password):
101
  opt = st.sidebar.radio("Select a PubMed Corpus", options=('Breast Cancer corpus', 'Lung Cancer corpus',
102
  'Skin Cancer corpus', 'Colorectal Cancer corpus',
103
- 'Prostate Cancer corpus'))
104
  # if opt == "Clotting corpus":
105
  # model_used = ("pubmed_model_clotting")
106
  # num_abstracts = 45493
@@ -129,6 +129,10 @@ if opt == "Skin Cancer corpus":
129
  model_used = ("skin_cancer_pubmed_model")
130
  num_abstracts = 176568
131
  database_name = "Skin_cancer"
 
 
 
 
132
 
133
  st.header(f":blue[{database_name} Pubmed corpus.]")
134
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")
 
100
  # if authenticate(password):
101
  opt = st.sidebar.radio("Select a PubMed Corpus", options=('Breast Cancer corpus', 'Lung Cancer corpus',
102
  'Skin Cancer corpus', 'Colorectal Cancer corpus',
103
+ 'Prostate Cancer corpus', 'Lymphoma Cancer corpus'))
104
  # if opt == "Clotting corpus":
105
  # model_used = ("pubmed_model_clotting")
106
  # num_abstracts = 45493
 
129
  model_used = ("skin_cancer_pubmed_model")
130
  num_abstracts = 176568
131
  database_name = "Skin_cancer"
132
+ if opt == "Lymphoma corpus":
133
+ model_used = ("lymphoma_cancer_pubmed_model")
134
+ num_abstracts = 79000
135
+ database_name = "Lymphoma_cancer"
136
 
137
  st.header(f":blue[{database_name} Pubmed corpus.]")
138
  text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")