Spaces:
Sleeping
Sleeping
Download app.py from linnflux/alpha_test: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/linnflux/alpha_test/resolve/main/app.py
- Command line
-
hf download hf://spaces/linnflux/alpha_test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/linnflux/alpha_test/resolve/main/app.py
181 Bytes
| import streamlit as st | |
| from transformers import pipeline | |
| pipe = pipeline('text2text-generation') | |
| text = st.text_area('enter some text:') | |
| if text: | |
| out = pipe(text) | |
| st.json(out) |