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...
3990405
test1
/
app.py
Intradiction
Update app.py
3990405
over 1 year ago
raw
Copy download link
history
blame
Safe
215 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(model=
"Intradiction/text_classification_NoLORA"
)
text = st.text_area(
'Input a movie review:'
)
if
text:
out = pipe(text)
st.json(out)