Spaces:
Runtime error
Runtime error
Benjamin S Liang
commited on
Commit
•
a96b11a
1
Parent(s):
50da02d
Added legend for labels
Browse files- app.py +1 -0
- images/AI_banner.jpg +0 -0
- images/machine_learning_banner_2.jpg +0 -0
app.py
CHANGED
@@ -78,4 +78,5 @@ model, tokenizer = load_model('finetuned')
|
|
78 |
result = sentiment_analysis(model, tokenizer)(dropdown_abstracts)
|
79 |
|
80 |
# Display the sentiment analysis results
|
|
|
81 |
st.write('Sentiment:', result[0]['label'], '; Score:', result[0]['score'])
|
|
|
78 |
result = sentiment_analysis(model, tokenizer)(dropdown_abstracts)
|
79 |
|
80 |
# Display the sentiment analysis results
|
81 |
+
st.markdown('Labels 0, 1: Not accepted, Accepted')
|
82 |
st.write('Sentiment:', result[0]['label'], '; Score:', result[0]['score'])
|
images/AI_banner.jpg
ADDED
images/machine_learning_banner_2.jpg
ADDED