Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Pudding48
/
TinyLLamaTesting
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
605275e
TinyLLamaTesting
/
app.py
Pudding48
Update app.py
605275e
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
187 Bytes
import
steamlit
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);