Spaces:
Sleeping
Sleeping
Download app.py from atmaxsa/ImageHashtag: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/atmaxsa/ImageHashtag/resolve/main/app.py
- Command line
-
hf download hf://spaces/atmaxsa/ImageHashtag/app.py
-
curl -L -o app.py https://huggingface.co/spaces/atmaxsa/ImageHashtag/resolve/main/app.py
181 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) |