Large text to speech

FREEMIUM
By k_1 | Updated 24 दिन पहले | Artificial Intelligence/Machine Learning
Popularity

9.5 / 10

Latency

960ms

Service Level

100%

Health Check

N/A

Back to All Discussions

example code does not work

Rapid account: Y M
y_m
एक वर्ष पहले

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 एक वर्ष पहले
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 एक वर्ष पहले

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 एक वर्ष पहले

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

Join in the discussion - add comment below:

Login / Signup to post new comments