ashrestha commited on
Commit
adf8ee2
1 Parent(s): 4791a7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,6 +16,6 @@ if submit_button:
16
  labels = list(l.strip() for l in input_label.split(','))
17
  pred = classifier(input_text, labels, multi_class=True)
18
 
19
- st.success(pred['label'])
20
 
21
  # st.markdown(pred)
 
16
  labels = list(l.strip() for l in input_label.split(','))
17
  pred = classifier(input_text, labels, multi_class=True)
18
 
19
+ st.success(pred['labels'][0:1])
20
 
21
  # st.markdown(pred)