Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def predict_text(text):
|
|
43 |
# Print the sections the case belongs to
|
44 |
sections_belongs_to = [section for section, pred in predictions.items() if pred == 1]
|
45 |
if sections_belongs_to:
|
46 |
-
st.write(f"This case belongs to Section(s): {', '.join(sections_belongs_to)}")
|
47 |
else:
|
48 |
st.write("This case does not belong to any known section.")
|
49 |
|
|
|
43 |
# Print the sections the case belongs to
|
44 |
sections_belongs_to = [section for section, pred in predictions.items() if pred == 1]
|
45 |
if sections_belongs_to:
|
46 |
+
st.write(f"This case belongs to Section(s): **{', '.join(sections_belongs_to)}**")
|
47 |
else:
|
48 |
st.write("This case does not belong to any known section.")
|
49 |
|