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...
6b48441
language-detection-X1c3
/
app.py
hancav
Update app.py
6b48441
over 1 year ago
raw
Copy download link
history
blame
Safe
179 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.text_area(out)