Solshine commited on
Commit
589c7da
1 Parent(s): 29a0691

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,13 +21,13 @@ if uploaded_file is not None:
21
  page = reader.pages[i]
22
  # extracting text from page
23
  text = page.extract_text()
24
- print("Created text of page" i )
25
  sound_file = BytesIO()
26
  tts = gTTS(text, lang='en')
27
  tts.write_to_fp(sound_file)
28
  i = i + 1
29
  st.audio(sound_file)
30
- print("transcribed" i "pages" of X "total pages.")
31
 
32
 
33
 
 
21
  page = reader.pages[i]
22
  # extracting text from page
23
  text = page.extract_text()
24
+ print("Created text of page", i )
25
  sound_file = BytesIO()
26
  tts = gTTS(text, lang='en')
27
  tts.write_to_fp(sound_file)
28
  i = i + 1
29
  st.audio(sound_file)
30
+ print("transcribed", i, "pages of", X, "total pages.")
31
 
32
 
33