Kevin676 commited on
Commit
5f11fe8
·
1 Parent(s): 361cc97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ def voice_conversion(apikey, ta, audio, choice1):
166
  audio = whisper.load_audio(audio)
167
  audio = whisper.pad_or_trim(audio)
168
 
169
- # make log-Mel spectrogram and move to the same device as the model1
170
  mel = whisper.log_mel_spectrogram(audio).to(model1.device)
171
 
172
  # detect the spoken language
 
166
  audio = whisper.load_audio(audio)
167
  audio = whisper.pad_or_trim(audio)
168
 
169
+ # make log-Mel spectrogram and move to the same device as the model
170
  mel = whisper.log_mel_spectrogram(audio).to(model1.device)
171
 
172
  # detect the spoken language