Download app.py from gourinath/Senti: direct link, hf CLI and curl.
- Browser
- Download file 126 Bytes
-
https://huggingface.co/spaces/gourinath/Senti/resolve/main/app.py
- Command line
-
hf download hf://spaces/gourinath/Senti/app.py
-
curl -L -o app.py https://huggingface.co/spaces/gourinath/Senti/resolve/main/app.py
126 Bytes
| from transformers import pipeline | |
| model = pipeline("sentiment-analysis") | |
| result = model("I love Hugging Face!") | |
| print(result) |