Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = AutoModelForTokenClassification.from_pretrained(model_name)
|
|
10 |
ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
|
11 |
|
12 |
# UI ด้วย Streamlit
|
13 |
-
col1, col2 = st.columns(
|
14 |
|
15 |
with col1:
|
16 |
st.header("Input")
|
@@ -63,3 +63,6 @@ with col2:
|
|
63 |
st.markdown("<span style='font-size: 14px;'>JSON</span>", unsafe_allow_html=True)
|
64 |
|
65 |
st.write(ner_results)
|
|
|
|
|
|
|
|
10 |
ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
|
11 |
|
12 |
# UI ด้วย Streamlit
|
13 |
+
col1, col2, col3 = st.columns(3)
|
14 |
|
15 |
with col1:
|
16 |
st.header("Input")
|
|
|
63 |
st.markdown("<span style='font-size: 14px;'>JSON</span>", unsafe_allow_html=True)
|
64 |
|
65 |
st.write(ner_results)
|
66 |
+
|
67 |
+
with col3:
|
68 |
+
st.header("Anotation")
|