Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
# Load the Whisper pipeline
|
6 |
-
transcriber = pipeline("automatic-speech-recognition") # Choose your Whisper size
|
7 |
|
8 |
def transcribe_audio(audio_file):
|
9 |
if audio_file is not None:
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
# Load the Whisper pipeline
|
6 |
+
transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base") # Choose your Whisper size
|
7 |
|
8 |
def transcribe_audio(audio_file):
|
9 |
if audio_file is not None:
|