Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import streamlit as st
|
|
| 3 |
# Use a pipeline as a high-level helper
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
-
pipe = pipeline("
|
| 7 |
text = st.text_area("enter some text")
|
| 8 |
|
| 9 |
if text:
|
|
|
|
| 3 |
# Use a pipeline as a high-level helper
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
+
pipe = pipeline("sentiment-analysis")
|
| 7 |
text = st.text_area("enter some text")
|
| 8 |
|
| 9 |
if text:
|