arithescientist commited on
Commit
83fbd87
·
1 Parent(s): e9bfb2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -55,11 +55,9 @@ def pdf_to_text(PDF, Sentences):
55
  # save the pdf with name .pdf
56
  pdf.output("legal.pdf")
57
 
 
58
 
59
- myobj = gTTS(text=output_text, lang='en', slow=False)
60
- myobj.save("legal.wav")
61
-
62
- return "legal.wav", Text, "legal.pdf"
63
 
64
  # path = folder_name
65
 
 
55
  # save the pdf with name .pdf
56
  pdf.output("legal.pdf")
57
 
58
+
59
 
60
+ return "legal.wav", output_text, "legal.pdf"
 
 
 
61
 
62
  # path = folder_name
63