Large text to speech

FREEMIUM
Por k_1 | Actualizada a month ago | Artificial Intelligence/Machine Learning
Popularidad

9.5 / 10

Latencia

992ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

example code does not work

Rapid account: Y M
y_m
a year ago

Hi!
The code
https://gist.github.com/kristian-io/551689b1277561354e3e35117a6bea56
does not work

output is:
aiting 15 seconds for the job to finish…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…
Waiting some more…

Rapid account: K 1
k_1 Commented a year ago
Waiting 15 seconds for the job to finish...
File saved to test-file.wav !
Or download here: https://s3.eu-central-1.amazonaws.com/tts-download/3e43a31afd13ec05d4ba13ce09fd4ae3.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZ3CYNLHHVKA7D7Z4%2F20230417%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20230417T141542Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=65d70e5e8c50e19c7cf124e1afb8f1fd440c6e53709627b474f1d878cfda3509

I am unable to replicate it.
Using the code example, after making the response, we can print it like this

print(response.text)

Can you share what you get from it ? I sent you a private message.

Thank you,
Kristian

Rapid account: K 1
k_1 Commented a year ago

Hello,

you are right, there were issues with processing requests and we have recovered it. All request are now complete and API functioning again.

Apologies for the inconvenience.

Thanks,

Rapid account: Jamesschorey
jamesschorey Commented a year ago

The API seems to be broken, perhaps as the previous user noted. These are the JSON responses I get back for a simple “Please say this” request…

{“id”: “id removed for privacy”, “status”: “processing”, “eta”: 15, “text”: “Please say this”}
{“id”: “removed”, “status”: “processing”, “eta”: 13}
{“id”: “removed”, “status”: “processing”, “eta”: 11}
{“id”: “removed”, “status”: “processing”, “eta”: 9}
{“id”: “removed”, “status”: “processing”, “eta”: 7}
{“id”: “removed”, “status”: “processing”, “eta”: 4}
{“id”: “removed”, “status”: “processing”, “eta”: 2}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}
{“id”: “removed”, “status”: “processing”, “eta”: 15}

Note it’s nearly done (eta=2) and resets itself (eta=15). It never comes out of the eta=15. This code was working just fine a few days ago. HELP! I’m right in the middle of proof of concept demonstrations…

James Schorey
937-367-7133

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios