Project Alpha 3
This commit is contained in:
@@ -15,6 +15,7 @@ def process(audio_path):
|
||||
tokenizer=processor.tokenizer,
|
||||
feature_extractor=processor.feature_extractor,
|
||||
torch_dtype=torch.float32,
|
||||
return_timestamps=True,
|
||||
device="mps"
|
||||
)
|
||||
output = pipe(audio_path)["text"]
|
||||
|
||||
Reference in New Issue
Block a user