Faild to get data via Bash API /basic_tts

#59
by binglu895 - opened

Was able to get the Event_ID with a POST request.
But failed to get data with the Event_ID.
The first GET response:
- event:error
- data:null
And the second GET request on response:
- event:heartbeat
- data:null

image.png

This means there was an error in your data arguments. Please check that you passed valid reference audio, settings, etc.

Specifically, you are missing some of the following parameters:
remove_silence, cross_fade_duration_slider, nfe_slider, speed_slider

mrfakename changed discussion status to closed

During getting the Event_ID, explicitly specified the parameters name this time.
The same problem remains.

image.png

You should not pass an array of dictionaries, you should just pass a list.

Actually, it looks like inference may not be supported by the bash API. Please use the Python API client library instead

Encountered the following error during try the python API with the following code.
image.png

Python Code:
image.png

Reference:
image.png

Sorry about that, do you have the latest version of the gradio-client library installed?

Thank you for prompt reponse,
I am using gradio_client version 1.3.0
image.png

Try upgrading to the latest version. I tested it and it works for me on the latest version.

Thank you.
The API works well with gradio_client version 1.10.0
image.png

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment