hancav commited on
Commit
af39d3b
·
1 Parent(s): 3be476c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- out = detect(text)
 
 
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}')