Spaces:
Running
Running
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', 'Head and Neck 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', 'Neuroblastoma Cancer corpus'
|
| 111 |
))
|
| 112 |
# if opt == "Clotting corpus":
|
|
@@ -212,6 +212,11 @@ if opt == "Head and Neck Cancer corpus":
|
|
| 212 |
num_abstracts = 169171
|
| 213 |
database_name = "Head_and_Neck_cancer"
|
| 214 |
st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
|
| 216 |
st.header(f":blue[{database_name} Pubmed corpus.]")
|
| 217 |
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', 'Head and Neck 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', 'Bone Cancer corpus','Cervical Cancer corpus', 'Ovarian Cancer corpus',
|
| 110 |
'Pancreas Cancer corpus', 'Thyroid Cancer corpus', 'Neuroblastoma Cancer corpus'
|
| 111 |
))
|
| 112 |
# if opt == "Clotting corpus":
|
|
|
|
| 212 |
num_abstracts = 169171
|
| 213 |
database_name = "Head_and_Neck_cancer"
|
| 214 |
st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
|
| 215 |
+
if opt == "Bone Cancer corpus":
|
| 216 |
+
model_used = ("bone_cancer_pubmed_model")
|
| 217 |
+
num_abstracts = 55781
|
| 218 |
+
database_name = "Bone_cancer"
|
| 219 |
+
st.sidebar.markdown(f"**Number of abstracts in this selection:** {num_abstracts}")
|
| 220 |
|
| 221 |
st.header(f":blue[{database_name} Pubmed corpus.]")
|
| 222 |
text_input_value = st.text_input(f"Enter one term to search within the {database_name} corpus")
|