Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from Model.NER.app_NER import show_ner
|
3 |
-
from Model.MultimodelNER.app_MNER import show_mner
|
4 |
-
|
5 |
-
title = "Vietnamese Multimodel NER"
|
6 |
-
|
7 |
-
st.title(title)
|
8 |
-
|
9 |
-
|
10 |
-
st.sidebar.title('Model')
|
11 |
-
page = st.sidebar.selectbox("NER or Multimodel NER", ("NER", "Multimodel NER"))
|
12 |
-
|
13 |
-
if page == "NER":
|
14 |
-
show_ner()
|
15 |
-
else:
|
16 |
-
show_mner()
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from .Model.NER.app_NER import show_ner
|
3 |
+
from .Model.MultimodelNER.app_MNER import show_mner
|
4 |
+
|
5 |
+
title = "Vietnamese Multimodel NER"
|
6 |
+
|
7 |
+
st.title(title)
|
8 |
+
|
9 |
+
|
10 |
+
st.sidebar.title('Model')
|
11 |
+
page = st.sidebar.selectbox("NER or Multimodel NER", ("NER", "Multimodel NER"))
|
12 |
+
|
13 |
+
if page == "NER":
|
14 |
+
show_ner()
|
15 |
+
else:
|
16 |
+
show_mner()
|