Spaces:
Sleeping
Sleeping
File size: 295 Bytes
3c36fb5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from gradio_client import Client, handle_file
def api_gradio_transcribe(url: str):
client = Client("hf-audio/whisper-large-v3-turbo")
result = client.predict(
inputs=handle_file(url),
task="transcribe",
api_name="/predict"
)
return result
|