Update app.py
Browse files
app.py
CHANGED
@@ -19,15 +19,24 @@ import streamlit as st
|
|
19 |
from Model.NER.app_NER import show_ner
|
20 |
from Model.MultimodelNER.app_MNER import show_mner
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
title = "Vietnamese Multimodel NER"
|
23 |
|
24 |
st.title(title)
|
25 |
|
26 |
-
|
27 |
st.sidebar.title('Model')
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
show_mner()
|
32 |
-
else:
|
33 |
-
show_ner()
|
|
|
19 |
from Model.NER.app_NER import show_ner
|
20 |
from Model.MultimodelNER.app_MNER import show_mner
|
21 |
|
22 |
+
# title = "Vietnamese Multimodel NER"
|
23 |
+
|
24 |
+
# st.title(title)
|
25 |
+
|
26 |
+
|
27 |
+
# st.sidebar.title('Model')
|
28 |
+
# page = st.sidebar.selectbox("NER or Multimodel NER", ("Multimodel NER","NER"))
|
29 |
+
|
30 |
+
# if page == "Multimodel NER":
|
31 |
+
# show_mner()
|
32 |
+
# else:
|
33 |
+
# show_ner()
|
34 |
+
|
35 |
title = "Vietnamese Multimodel NER"
|
36 |
|
37 |
st.title(title)
|
38 |
|
|
|
39 |
st.sidebar.title('Model')
|
40 |
+
st.sidebar.write("Multimodel NER") # Display only Multimodel NER option
|
41 |
|
42 |
+
show_mner()
|
|
|
|
|
|