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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ BASE_PATH = os.path.dirname(os.path.abspath(__file__))
13
  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-small", device=0 if device == "cuda" else -1)
18
  print("ASR model loaded!")
19
 
 
13
  os.makedirs('input', exist_ok=True)
14
  os.makedirs('separated', exist_ok=True)
15
 
16
+ print(f"Loading ASR model on {device}...")
17
  pipe = pipeline("automatic-speech-recognition", model="openai/whisper-small", device=0 if device == "cuda" else -1)
18
  print("ASR model loaded!")
19