Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,4 +3,5 @@ from langdetect import detect
|
|
3 |
|
4 |
text = st.text_area('Please enter some text for language detection !!')
|
5 |
if text:
|
6 |
-
|
|
|
|
3 |
|
4 |
text = st.text_area('Please enter some text for language detection !!')
|
5 |
if text:
|
6 |
+
detected_language = detect(text)
|
7 |
+
st.write(f'The detected language is: {detected_language}')
|