Spaces:
Sleeping
Sleeping
removed the list data conversion
Browse files
app.py
CHANGED
@@ -106,5 +106,5 @@ if st.button("Classify"):
|
|
106 |
predictions = classify(text_input)
|
107 |
for prediction in predictions:
|
108 |
# st.write(f"Segment Text: {prediction['segment_text']}")
|
109 |
-
st.write(f"Label: {
|
110 |
st.write(f"Probability: {prediction['top_probabilities']}")
|
|
|
106 |
predictions = classify(text_input)
|
107 |
for prediction in predictions:
|
108 |
# st.write(f"Segment Text: {prediction['segment_text']}")
|
109 |
+
st.write(f"Label: {prediction['top_labels']}")
|
110 |
st.write(f"Probability: {prediction['top_probabilities']}")
|