Pijush2023 commited on
Commit
5808e2d
·
verified ·
1 Parent(s): 3b4aa45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -575,7 +575,7 @@ def generate_audio_mars5(text):
575
 
576
  chunks = chunk_text(preprocess(text))
577
  audio_segments = []
578
-
579
  for chunk in chunks:
580
  transcript = transcribe_file(audio_path) # Assuming audio_path is the path to the audio file for reference
581
  wav, sr = librosa.load(audio_path, sr=mars5.sr, mono=True)
 
575
 
576
  chunks = chunk_text(preprocess(text))
577
  audio_segments = []
578
+ audio_path='female_speaker_1.flac'
579
  for chunk in chunks:
580
  transcript = transcribe_file(audio_path) # Assuming audio_path is the path to the audio file for reference
581
  wav, sr = librosa.load(audio_path, sr=mars5.sr, mono=True)