JabriA commited on
Commit
bfbe6f3
·
verified ·
1 Parent(s): cf75eeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
 
5
  # Load models
6
  def transcribe_audio(file_path):
7
- model = whisper.load_model("base") # Use "tiny", "base", "small", etc.
8
  result = model.transcribe(file_path)
9
  return result["text"]
10
 
 
4
 
5
  # Load models
6
  def transcribe_audio(file_path):
7
+ model = whisper.load_model("tiny") # Use "tiny", "base", "small", etc.
8
  result = model.transcribe(file_path)
9
  return result["text"]
10