Spaces:
Runtime error
Runtime error
| from gradio_client import Client, handle_file | |
| client = Client("http://127.0.0.1:7860/") | |
| #client = Client("JulienHalgand/hf-gradio-example") | |
| result = client.predict( | |
| file_path=handle_file('/home/julien/Downloads/La Marseillaise_1st_couplet.mp3'), | |
| api_name="/predict" | |
| ) | |
| print(result) |