arnavmehta7 commited on
Commit
26fdaed
·
verified ·
1 Parent(s): 3a0629c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ asr_model = pipeline(
15
  "automatic-speech-recognition",
16
  model="openai/whisper-medium",
17
  chunk_length_s=30,
18
- device=torch.device("cuda"),
19
  )
20
 
21
  def transcribe_file(f: str) -> str:
 
15
  "automatic-speech-recognition",
16
  model="openai/whisper-medium",
17
  chunk_length_s=30,
18
+ device=torch.device("cuda:0"),
19
  )
20
 
21
  def transcribe_file(f: str) -> str: