Spaces:
Sleeping
Sleeping
Download app.py from Tyler102222/101sec: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/spaces/Tyler102222/101sec/resolve/main/app.py
- Command line
-
hf download hf://spaces/Tyler102222/101sec/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Tyler102222/101sec/resolve/main/app.py
186 Bytes
| import streamlit as st | |
| from transformers import pipeline | |
| pipe = pipeline("Sentiment Analysis") | |
| text = st.text_area("Enter some text! ") | |
| if text: | |
| out = pipe(text) | |
| st.json(out) |