Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ opt = st.sidebar.radio("Select a PubMed Corpus (1990-2022)", options=(
|
|
106 |
'Breast Cancer corpus', 'Skin Cancer corpus', 'Lung Cancer corpus', 'Colorectal Cancer 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', 'Cervical Cancer corpus', 'Ovarian Cancer corpus',
|
110 |
'Pancreas Cancer corpus', 'Thyroid Cancer corpus'
|
111 |
))
|
112 |
# if opt == "Clotting corpus":
|
@@ -197,6 +197,11 @@ if opt == "Liver Cancer corpus":
|
|
197 |
num_abstracts = 107234
|
198 |
database_name = "Liver_cancer"
|
199 |
st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
|
|
|
|
|
|
|
|
|
|
|
200 |
|
201 |
st.header(f":blue[{database_name} Pubmed corpus.]")
|
202 |
text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")
|
|
|
106 |
'Breast Cancer corpus', 'Skin Cancer corpus', 'Lung Cancer corpus', 'Colorectal Cancer 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'
|
111 |
))
|
112 |
# if opt == "Clotting corpus":
|
|
|
197 |
num_abstracts = 107234
|
198 |
database_name = "Liver_cancer"
|
199 |
st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
|
200 |
+
if opt == "Stomach Cancer corpus":
|
201 |
+
model_used = ("stomach_cancer_pubmed_model")
|
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")
|