Prasada commited on
Commit
f7a3a17
·
1 Parent(s): e11a57c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def create_speaker_embedding(waveform):
30
  return speaker_embeddings
31
 
32
  def prepare_data(temp_text, temp_audio):
33
- rate, audio_data = wavfile.read(temp_audio)
34
  example = processor(
35
  text=temp_text,
36
  audio_target=audio_data,
 
30
  return speaker_embeddings
31
 
32
  def prepare_data(temp_text, temp_audio):
33
+ rate, audio_data = temp_audio
34
  example = processor(
35
  text=temp_text,
36
  audio_target=audio_data,