deekshachilukuri commited on
Commit
c50ad1a
·
verified ·
1 Parent(s): cac93c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ with patch('builtins.input', always_yes):
23
  #################################
24
  # Path to the audio file
25
  #SAMPLE_AUDIOS = ["sampleaudio.wav"]
26
- SAMPLE_AUDIOS = ["PDF2AUDIO/sampleaudio.wav"]
27
 
28
 
29
 
@@ -37,7 +37,7 @@ def text_to_speech(text):
37
  try:
38
  tts.tts_to_file(
39
  text,
40
- speaker_wav=SAMPLE_AUDIOS,
41
  language="en",
42
  file_path=save_path,
43
  split_sentences=True,
 
23
  #################################
24
  # Path to the audio file
25
  #SAMPLE_AUDIOS = ["sampleaudio.wav"]
26
+ sa = ["deekshachilukuri/PDF2AUDIO/sampleaudio.wav"]
27
 
28
 
29
 
 
37
  try:
38
  tts.tts_to_file(
39
  text,
40
+ speaker_wav=sa,
41
  language="en",
42
  file_path=save_path,
43
  split_sentences=True,