Armando117 commited on
Commit
24229cb
·
1 Parent(s): b7ebb8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,9 +24,9 @@ def convert_pdf_to_audio(pdf_file_path):
24
  tts.save(audio_file_path)
25
 
26
  # Leer el archivo de audio
27
- audio_data = AudioSegment.from_wav(audio_file_path)
28
 
29
- return audio_data
30
 
31
  except Exception as e:
32
  return str(e)
 
24
  tts.save(audio_file_path)
25
 
26
  # Leer el archivo de audio
27
+ # audio_data = AudioSegment.from_wav(audio_file_path)
28
 
29
+ return audio_file_path
30
 
31
  except Exception as e:
32
  return str(e)