Spaces:
Runtime error
Runtime error
ZephyruSalsify
commited on
Commit
•
e29a37a
1
Parent(s):
8d00e58
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text classification model pipeline
|
5 |
-
classifier = pipeline("text-classification", model='
|
6 |
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification")
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text classification model pipeline
|
5 |
+
classifier = pipeline("text-classification", model='isom5240sp24/bert-base-uncased-emotion', return_all_scores=True)
|
6 |
|
7 |
# Streamlit application title
|
8 |
st.title("Text Classification")
|