You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError:
(7 additional frame(s) were not displayed)
...
File "rest_api/baseview.py", line 16, in dispatch
return await super().dispatch(request, *args, **kwargs)
File "rest_api/samples.py", line 271, in list_xtts
speaker_or_voice = await get_speaker_or_xtts_voice(request.user, voice_id)
File "concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "rest_api/samples.py", line 192, in get_speaker_or_xtts_voice
assert voice_id
To simulate to not give voice_id
Api docs state voice_id is required but examples do not generate it causing confusion on user.
Similarly you need to give a voice_id to render/create_sample ..
curl --request POST
--url https://app.coqui.ai/api/v2/samples/xtts/render/
--header 'accept: application/json'
--header 'authorization: Bearer YOUR_TOKEN'
--header 'content-type: application/json'
--data '
{
"speed": 1,
"text": "hello",
}
The text was updated successfully, but these errors were encountered:
Sentry Issue: STUDIO-BACKEND-J5
To simulate to not give voice_id
Api docs state voice_id is required but examples do not generate it causing confusion on user.
curl --request GET
--url 'https://app.coqui.ai/api/v2/samples/xtts/?page=1&per_page=10'
--header 'accept: application/json'
--header 'authorization: Bearer YOUR_TOKEN'
Similarly you need to give a voice_id to render/create_sample ..
curl --request POST
--url https://app.coqui.ai/api/v2/samples/xtts/render/
--header 'accept: application/json'
--header 'authorization: Bearer YOUR_TOKEN'
--header 'content-type: application/json'
--data '
{
"speed": 1,
"text": "hello",
}
The text was updated successfully, but these errors were encountered: