dini15 commited on
Commit
e3bb042
·
verified ·
1 Parent(s): 1831f68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,9 @@ import torch
4
  import numpy as np
5
  from faster_whisper import WhisperModel
6
  import os
 
 
 
7
 
8
  # Load model sekali aja
9
  model = WhisperModel("small", device="cpu", compute_type="float32")
 
4
  import numpy as np
5
  from faster_whisper import WhisperModel
6
  import os
7
+ os.system("pip install -q gradio torch whisper faster-whisper yt-dlp numpy")
8
+
9
+
10
 
11
  # Load model sekali aja
12
  model = WhisperModel("small", device="cpu", compute_type="float32")