Update pages/upload_file.py
Browse files- pages/upload_file.py +2 -2
pages/upload_file.py
CHANGED
@@ -36,7 +36,7 @@ HuggingFace_model_results = pipeline("ner", model = "blaze999/Medical-NER")
|
|
36 |
createNER_button = st.button("Create NER tags")
|
37 |
|
38 |
col1, col2 = st.columns([1,1.5])
|
39 |
-
col1.subheader("
|
40 |
col2.subheader("blaze999/Medical-NER")
|
41 |
|
42 |
if uploaded_file is not None and createNER_button == True:
|
@@ -47,7 +47,7 @@ if uploaded_file is not None and createNER_button == True:
|
|
47 |
#st.write("Your input is: ", string_data)
|
48 |
with col1:
|
49 |
#st.write(my_model_results(string_data))
|
50 |
-
#col1.subheader("
|
51 |
for result in my_model_results(string_data):
|
52 |
st.write(result['word'], result['entity'])
|
53 |
dict1["word"].append(result['word']), dict1["entity"].append(result['entity'])
|
|
|
36 |
createNER_button = st.button("Create NER tags")
|
37 |
|
38 |
col1, col2 = st.columns([1,1.5])
|
39 |
+
col1.subheader("Demo Model")
|
40 |
col2.subheader("blaze999/Medical-NER")
|
41 |
|
42 |
if uploaded_file is not None and createNER_button == True:
|
|
|
47 |
#st.write("Your input is: ", string_data)
|
48 |
with col1:
|
49 |
#st.write(my_model_results(string_data))
|
50 |
+
#col1.subheader("Demo Model")
|
51 |
for result in my_model_results(string_data):
|
52 |
st.write(result['word'], result['entity'])
|
53 |
dict1["word"].append(result['word']), dict1["entity"].append(result['entity'])
|