Spaces:
Build error
Build error
Trying tiny model again.
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ def asr_transcriber(audio_file):
|
|
| 32 |
ts = False
|
| 33 |
|
| 34 |
#Try to optimize when CPU and float32
|
| 35 |
-
model_id = "openai/whisper-
|
|
|
|
| 36 |
|
| 37 |
# Initialize the ASR pipeline
|
| 38 |
pipe = pipeline(
|
|
|
|
| 32 |
ts = False
|
| 33 |
|
| 34 |
#Try to optimize when CPU and float32
|
| 35 |
+
model_id = "openai/whisper-tiny"
|
| 36 |
+
|
| 37 |
|
| 38 |
# Initialize the ASR pipeline
|
| 39 |
pipe = pipeline(
|