Spaces:
Build error
Build error
Download app.py from wallartist/sync: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/wallartist/sync/resolve/main/app.py
- Command line
-
hf download hf://spaces/wallartist/sync/app.py
-
curl -L -o app.py https://huggingface.co/spaces/wallartist/sync/resolve/main/app.py
189 Bytes
| import streamlit as st | |
| from transformers import pipeline | |
| pipe = pipeline('sentiment-analysis') | |
| text = st.text_area("Enter Something here..") | |
| if text: | |
| out = pipe(text) | |
| st.json(out) |