Spaces:
Runtime error
Runtime error
Commit
·
2ef4273
1
Parent(s):
02869c8
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
import streamlit as st
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
-
pipe = pipeline("text-classification")
|
| 6 |
text = st.text_area("enter some text!")
|
| 7 |
|
| 8 |
if text:
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
+
pipe = pipeline("text-classification", model="michellejieli/emotion_text_classifier")
|
| 6 |
text = st.text_area("enter some text!")
|
| 7 |
|
| 8 |
if text:
|