Spaces:
No application file
No application file
Download App.py from Fluospark128/ModelA: direct link, hf CLI and curl.
- Browser
- Download file 179 Bytes
-
https://huggingface.co/spaces/Fluospark128/ModelA/resolve/main/App.py
- Command line
-
hf download hf://spaces/Fluospark128/ModelA/App.py
-
curl -L -o App.py https://huggingface.co/spaces/Fluospark128/ModelA/resolve/main/App.py
179 Bytes
| import streamlit as st | |
| from transformers import pipeline | |
| pipe = pipeline("sentiment-analysis") | |
| text = st.text_axes("This is a text") | |
| if text: | |
| t = pipe(text) | |
| st join(t) |