Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
alvaromlua
/
cryptobot
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fe382f5
cryptobot
/
app.py
alvaromlua
Create app.py
fe382f5
verified
12 months ago
raw
Copy download link
history
blame
Safe
210 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
def
comparar_noticia
()
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
"Ingresar texto"
)
if
text:
out = pipe(text)
st.json(out)