Update README.md
Browse files
README.md
CHANGED
|
@@ -48,7 +48,7 @@ proc = extractor(
|
|
| 48 |
return_tensors="pt",
|
| 49 |
)
|
| 50 |
|
| 51 |
-
mel = proc.input_features.squeeze(0).to(
|
| 52 |
att_mask = proc.attention_mask.squeeze(0).to("cuda")
|
| 53 |
|
| 54 |
with torch.inference_mode():
|
|
|
|
| 48 |
return_tensors="pt",
|
| 49 |
)
|
| 50 |
|
| 51 |
+
mel = proc.input_features.squeeze(0).to("cuda")
|
| 52 |
att_mask = proc.attention_mask.squeeze(0).to("cuda")
|
| 53 |
|
| 54 |
with torch.inference_mode():
|