Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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['
|
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)
|