Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
hancav
/
language-detection-X1c3
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
23f67f3
language-detection-X1c3
/
app.py
hancav
Create app.py
457cb18
over 1 year ago
raw
Copy download link
history
blame
Safe
175 Bytes
import
streamlit
as
st
from
langdetect
import
detect
text = st.text_area(
'Please enter some text for language detection !!'
)
if
text:
out = detect(text)
st.json(out)