Dharsh1316 commited on
Commit
ad67d39
·
verified ·
1 Parent(s): c6cef03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ !pip install googletrans==4.0.0-rc1
2
+ from googletrans import Translator
3
+ translator = Translator()
4
+ result = translator.translate("how are you today ?",dest='ta')
5
+ print("Translated Text:",result.text)