from gradio_client import Client, handle_file client = Client("Washedashore/vidscript") result = client.predict( param_0=handle_file('https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav'), api_name="/predict" ) print(result)