Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Intradiction
/
test1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
dfcf46b
test1
/
app.py
Intradiction
Create app.py
dfcf46b
over 1 year ago
raw
Copy download link
history
blame
Safe
228 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(model=
"Intradiction/finetuning-sentiment-model-3000-samples"
)
text = st.text_area(
'Input a movie review:'
)
if
text:
out = pipe(text)
st.json(out)