Spaces:
Sleeping

RillSvai commited on
Commit
8fb1731
·
1 Parent(s): ec8e469

update options

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ def process_diarization(
145
  dialogue = []
146
 
147
  if speech_to_text_source == 'internal':
148
- model = whisper.load_model("turbo")
149
  elif speech_to_text_source == 'openai_api' and not openai_client:
150
  raise ValueError("OpenAI API key not configured")
151
 
 
145
  dialogue = []
146
 
147
  if speech_to_text_source == 'internal':
148
+ model = whisper.load_model("turbo", device="cpu", dtype="float32")
149
  elif speech_to_text_source == 'openai_api' and not openai_client:
150
  raise ValueError("OpenAI API key not configured")
151