Nucha commited on
Commit
d9d5ef6
·
verified ·
1 Parent(s): 797795c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -32,11 +32,11 @@ with col2:
32
  st.header("Result")
33
 
34
  # ใช้ st.markdown กับ CSS เพื่อปรับขนาดฟอนต์
35
- st.markdown("<span style='font-size: 11px;'>Press button [Analyze]</span>", unsafe_allow_html=True)
36
 
37
  if analyze_button:
38
  ner_results = ner_pipeline(text)
39
- st.write(ner_results)
40
 
41
  # Display results in a structured output block
42
  if ner_results:
@@ -44,3 +44,8 @@ with col2:
44
  st.table(output_data) # Display as a table
45
  else:
46
  st.write("No entities found.")
 
 
 
 
 
 
32
  st.header("Result")
33
 
34
  # ใช้ st.markdown กับ CSS เพื่อปรับขนาดฟอนต์
35
+ st.markdown("<span style='font-size: 14px;'>Press button [Analyze]</span>", unsafe_allow_html=True)
36
 
37
  if analyze_button:
38
  ner_results = ner_pipeline(text)
39
+
40
 
41
  # Display results in a structured output block
42
  if ner_results:
 
44
  st.table(output_data) # Display as a table
45
  else:
46
  st.write("No entities found.")
47
+
48
+ # ใช้ st.markdown กับ CSS เพื่อปรับขนาดฟอนต์
49
+ st.markdown("<span style='font-size: 14px;'>JSON</span>", unsafe_allow_html=True)
50
+
51
+ st.write(ner_results)