s3nh commited on
Commit
b6bfd96
·
verified ·
1 Parent(s): 0e9a4d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ import whisper
28
 
29
 
30
  def load_whisper():
31
- return whisper.load_model("medium")
32
 
33
  def load_tts():
34
  tts_model = VitsModel.from_pretrained("facebook/mms-tts-pol")
 
28
 
29
 
30
  def load_whisper():
31
+ return whisper.load_model("medium", device = 'cpu')
32
 
33
  def load_tts():
34
  tts_model = VitsModel.from_pretrained("facebook/mms-tts-pol")