Commit
·
6708f42
1
Parent(s):
32acf13
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ start = None
|
|
71 |
# with st.spinner("Computing"):
|
72 |
try:
|
73 |
|
74 |
-
model_name = st.sidebar.selectbox(label='Select Model to Apply', options=['ajitrajasekharan/biomedical', '
|
75 |
bert_tokenizer, bert_model = load_bert_model(model_name)
|
76 |
default_text = "Imatinib is used to treat"
|
77 |
input_text = st.text_area(
|
|
|
71 |
# with st.spinner("Computing"):
|
72 |
try:
|
73 |
|
74 |
+
model_name = st.sidebar.selectbox(label='Select Model to Apply', options=['ajitrajasekharan/biomedical', 'bert-base-cased'], index=0, key = "model_name")
|
75 |
bert_tokenizer, bert_model = load_bert_model(model_name)
|
76 |
default_text = "Imatinib is used to treat"
|
77 |
input_text = st.text_area(
|