Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
allimonae
/
basic-AI-image-detector
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
db19009
basic-AI-image-detector
/
app.py
allimonae
Create app.py
db19009
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
streamlit
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)