File size: 256 Bytes
2ff2e8c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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)