Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -3
src/streamlit_app.py
CHANGED
|
@@ -379,7 +379,7 @@ def main():
|
|
| 379 |
classify_button = st.button("🔍 Classify Topics", type="primary", use_container_width=True)
|
| 380 |
|
| 381 |
with col2:
|
| 382 |
-
st.subheader("
|
| 383 |
|
| 384 |
if classify_button and input_text:
|
| 385 |
if len(input_text.strip()) < 10:
|
|
@@ -392,8 +392,6 @@ def main():
|
|
| 392 |
if not results:
|
| 393 |
st.info("ℹ️ No topics identified with sufficient confidence.")
|
| 394 |
else:
|
| 395 |
-
|
| 396 |
-
st.markdown("### 📌 Identified Topics")
|
| 397 |
|
| 398 |
for label, confidence in results:
|
| 399 |
if confidence >= 0.75:
|
|
|
|
| 379 |
classify_button = st.button("🔍 Classify Topics", type="primary", use_container_width=True)
|
| 380 |
|
| 381 |
with col2:
|
| 382 |
+
st.subheader("📌 Identified Topics")
|
| 383 |
|
| 384 |
if classify_button and input_text:
|
| 385 |
if len(input_text.strip()) < 10:
|
|
|
|
| 392 |
if not results:
|
| 393 |
st.info("ℹ️ No topics identified with sufficient confidence.")
|
| 394 |
else:
|
|
|
|
|
|
|
| 395 |
|
| 396 |
for label, confidence in results:
|
| 397 |
if confidence >= 0.75:
|