Lenylvt commited on
Commit
1a80a34
·
verified ·
1 Parent(s): bb93ebc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ logging.getLogger("faster_whisper").setLevel(logging.DEBUG)
9
  # Initialize the Whisper model with your desired configuration
10
  model_size = "large-v3" # Choose the model size
11
  device = "cpu" # or "cuda" if GPU is available
12
- compute_type = "float16" # Choose the compute type based on your hardware
13
 
14
  model = WhisperModel(model_size=model_size, device=device, compute_type=compute_type)
15
 
 
9
  # Initialize the Whisper model with your desired configuration
10
  model_size = "large-v3" # Choose the model size
11
  device = "cpu" # or "cuda" if GPU is available
12
+ compute_type = "int8" # Choose the compute type based on your hardware
13
 
14
  model = WhisperModel(model_size=model_size, device=device, compute_type=compute_type)
15