annapurnapadmaprema-ji commited on
Commit
4d64dda
·
verified ·
1 Parent(s): 59b1886

Update app.py

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