Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,9 @@ def transcribe_3min(audio_path):
|
|
| 19 |
return "Hlaðið upp hljóðskrá"
|
| 20 |
|
| 21 |
pipe = pipeline(
|
| 22 |
-
"automatic-speech-recognition",
|
| 23 |
-
model="palli23/whisper-
|
|
|
|
| 24 |
torch_dtype=torch.float16,
|
| 25 |
device=0, # GPU inside @spaces.GPU
|
| 26 |
)
|
|
|
|
| 19 |
return "Hlaðið upp hljóðskrá"
|
| 20 |
|
| 21 |
pipe = pipeline(
|
| 22 |
+
"automatic-speech-recognition",
|
| 23 |
+
model="palli23/whisper-tiny-icelandic-distilled",
|
| 24 |
+
#model="palli23/whisper-small-sam_spjall",
|
| 25 |
torch_dtype=torch.float16,
|
| 26 |
device=0, # GPU inside @spaces.GPU
|
| 27 |
)
|