greco commited on
Commit
affaa64
·
1 Parent(s): dd8fcb1

improve performance

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -512,10 +512,10 @@ zero_shot_results = zero_shot_results.rename(columns={'sequence':'tweet', 'label
512
 
513
  st.subheader('Zero-Shot Classification and Sentiment Analysis Results')
514
  st.write(f'''
515
- Let's review all the tweets and how they fall into the categories of finance, politics, technology, and wildlife.
516
  ''')
517
 
518
- st.dataframe(zero_shot_results.style.format(precision=2))
519
 
520
  st.write(f'''
521
  We can observe that the model does not have strong confidence in predicting the categories for some of the tweets.
 
512
 
513
  st.subheader('Zero-Shot Classification and Sentiment Analysis Results')
514
  st.write(f'''
515
+ Let's review some tweets and how they fall into the categories of finance, politics, technology, and wildlife.
516
  ''')
517
 
518
+ st.dataframe(zero_shot_results.iloc[:2000].style.format(precision=2))
519
 
520
  st.write(f'''
521
  We can observe that the model does not have strong confidence in predicting the categories for some of the tweets.