ahmedghani commited on
Commit
897877f
1 Parent(s): 076c808

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ os.makedirs('input', exist_ok=True)
14
  os.makedirs('separated', exist_ok=True)
15
 
16
  print("Loading ASR model...")
17
- pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base", device=0 if device == "cuda" else -1)
18
  print("ASR model loaded!")
19
 
20
  def transcribe_audio(audiopath):
 
14
  os.makedirs('separated', exist_ok=True)
15
 
16
  print("Loading ASR model...")
17
+ pipe = pipeline("automatic-speech-recognition", model="openai/whisper-small", device=0 if device == "cuda" else -1)
18
  print("ASR model loaded!")
19
 
20
  def transcribe_audio(audiopath):