Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "
|
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 |
|