penscola commited on
Commit
dd3e915
·
1 Parent(s): 4bf4e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,9 +22,9 @@ with st.form(key='tweet',clear_on_submit=True):
22
  #Set examples
23
  alt_text=st.selectbox("Can't Type? Select an Example below",('I hate the vaccines','Vaccines made from dead human tissues','Take the vaccines or regret the consequences','Covid is a Hoax','Making the vaccines is a huge step forward for humanity. Just take them'))
24
  #Select a model
25
- models={'Bert':'UholoDala/tweet_sentiments_analysis_bert',
26
- 'Distilbert':'UholoDala/tweet_sentiments_analysis_distilbert',
27
- 'Roberta':'UholoDala/tweet_sentiments_analysis_roberta'}
28
  model=st.selectbox('Which model would you want to Use?',('Bert','Distilbert','Roberta'))
29
  #Submit
30
  submit=st.form_submit_button('Predict','Continue processing input')
 
22
  #Set examples
23
  alt_text=st.selectbox("Can't Type? Select an Example below",('I hate the vaccines','Vaccines made from dead human tissues','Take the vaccines or regret the consequences','Covid is a Hoax','Making the vaccines is a huge step forward for humanity. Just take them'))
24
  #Select a model
25
+ models={'Bert':'penscola/tweet_sentiments_analysis_roberta',
26
+ 'Distilbert':'penscola/tweet_sentiments_analysis_distilbert',
27
+ 'Roberta':'penscola/tweet_sentiments_analysis_roberta'}
28
  model=st.selectbox('Which model would you want to Use?',('Bert','Distilbert','Roberta'))
29
  #Submit
30
  submit=st.form_submit_button('Predict','Continue processing input')