Spaces:
Sleeping
Sleeping
from transformers import pipeline | |
def get_transcribe_transformers(url:str): | |
pipe = pipeline("automatic-speech-recognition", model="distil-whisper/distil-large-v3", return_timestamps=True) | |
result = pipe(url) | |
return result.get("text"), result.get("chunks") | |