Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ if submit_button:
|
|
19 |
pred = classifier(input_text, labels, multi_class=input_multi)
|
20 |
|
21 |
if input_multi:
|
22 |
-
st.vega_lite_chart(
|
23 |
{'mark': 'bar', 'encoding': {'y': 'labels', 'x': 'scores'}}
|
24 |
)
|
25 |
else:
|
|
|
19 |
pred = classifier(input_text, labels, multi_class=input_multi)
|
20 |
|
21 |
if input_multi:
|
22 |
+
st.vega_lite_chart(pred,
|
23 |
{'mark': 'bar', 'encoding': {'y': 'labels', 'x': 'scores'}}
|
24 |
)
|
25 |
else:
|