palli23 commited on
Commit
16fc785
·
verified ·
1 Parent(s): c143e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,10 +21,10 @@ def transcribe_3min(audio_path):
21
  pipe = pipeline(
22
  "automatic-speech-recognition",
23
  #model="palli23/whisper-tiny-icelandic-distilled-v3",
24
- #model = "palli23/whisper-tiny-distilled-spjallromur-polish-v3",
25
  #model="palli23/whisper-tiny-distilled-samromur-spjallromur-polish",
26
  #model="palli23/whisper-tiny-samromur-spjallromur",
27
- model="palli23/whisper-small-sam_spjall",
28
  torch_dtype=torch.float16,
29
  device=0, # GPU inside @spaces.GPU
30
  )
 
21
  pipe = pipeline(
22
  "automatic-speech-recognition",
23
  #model="palli23/whisper-tiny-icelandic-distilled-v3",
24
+ model = "palli23/whisper-tiny-distilled-spjallromur-polish-v3",
25
  #model="palli23/whisper-tiny-distilled-samromur-spjallromur-polish",
26
  #model="palli23/whisper-tiny-samromur-spjallromur",
27
+ #model="palli23/whisper-small-sam_spjall",
28
  torch_dtype=torch.float16,
29
  device=0, # GPU inside @spaces.GPU
30
  )