from gradio_client import Client, handle_file

client = Client("NexaAIDev/omni-audio-demo")
result = client.predict(
audio_path=handle_file('https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav'),
max_tokens=50,
api_name=" me gusta la pija"
)
print(result)

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment