Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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':'
|
26 |
-
'Distilbert':'
|
27 |
-
'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')
|