nebiyu29 commited on
Commit
7a5c928
1 Parent(s): 12a9624

removed the list data conversion

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: {list(prediction['top_labels'])}")
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']}")