BissakaAI commited on
Commit
c4fa7f2
·
verified ·
1 Parent(s): e44d328

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from faster_whisper import WhisperModel
5
  # Load model (small = fast, medium = better accuracy)
6
  model = WhisperModel(
7
  "small",
8
- device="cpu"
9
  compute_type="float16" if torch.cuda.is_available() else "int8"
10
  )
11
 
 
5
  # Load model (small = fast, medium = better accuracy)
6
  model = WhisperModel(
7
  "small",
8
+ device="cpu",
9
  compute_type="float16" if torch.cuda.is_available() else "int8"
10
  )
11