DebasishDhal99 commited on
Commit
07b5fef
1 Parent(s): 459f66d

replacing googletrans with deep-translator

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,9 +7,10 @@ from romanian import romanian_sentence_to_latin
7
 
8
  from essential_generators import DocumentGenerator
9
  # from googletrans import Translator
10
- from googletrans_temp import Translator
11
  import string
12
  import re
 
13
 
14
  def random_sentence(lang):
15
  gen = DocumentGenerator()
 
7
 
8
  from essential_generators import DocumentGenerator
9
  # from googletrans import Translator
10
+ # from googletrans_temp import Translator
11
  import string
12
  import re
13
+ from deep_translator import GoogleTranslator
14
 
15
  def random_sentence(lang):
16
  gen = DocumentGenerator()