Nucha commited on
Commit
75d98e1
·
verified ·
1 Parent(s): a0d334a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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(2)
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")