Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ feat_ext3 = WhisperFeatureExtractor.from_pretrained(M3, use_auth_token=auth_toke
|
|
37 |
|
38 |
# make quantized model
|
39 |
quantized_model1 = torch.quantization.quantize_dynamic(
|
40 |
-
|
41 |
)
|
42 |
|
43 |
|
|
|
37 |
|
38 |
# make quantized model
|
39 |
quantized_model1 = torch.quantization.quantize_dynamic(
|
40 |
+
model1, {torch.nn.Linear}, dtype=torch.qint8
|
41 |
)
|
42 |
|
43 |
|