Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
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,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)
|