jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 20 forks source link

add elevenlabs #330

Closed xquanluu closed 9 months ago

xquanluu commented 9 months ago

https://github.com/jambonz/jambonz-webapp/issues/328

davehorton commented 9 months ago

Change Model Id to just Model, and show the other two models as well image

davehorton commented 9 months ago

The names should just be "multilingual v2", "multilingual v1", and "monolingual v1"

xquanluu commented 9 months ago

fixed

davehorton commented 9 months ago

In the dropdown list of voices in the Application view when you select ElevenLabs you currently get a list of voice names, ordered as they are returned from ElevenLabs in the GET /voices. Instead, please show them in alphabetic order. Also, instead of

Rachel

show it as

Rachel - american, calm, young, female, narration

where those values after the dash are the values in the labels property of the voice object that is returned, e.g. image

davehorton commented 9 months ago

If the user chooses "monolingual v1" as the model, only the English language should be offered

davehorton commented 9 months ago

Also, one further request. In the Voices payload response there is a property called "category". When creating the display name in the dropdown, if the category value is anything other than "premade", please put it next to the name in parentheses.

For instance, Rachel is a premade name so it would look like as I suggested above:

Rachel - american, calm, young, female, narration

However, DaveH is a cloned voice:

        {
            "voice_id": "TwVPyTHwMlVlXTKVW83m",
            "name": "DaveH",
            "samples": [
                {
                    "sample_id": "klBmsEttYjvdik5UYK9C",
                    "file_name": "dave-3mins.mp3",
                    "mime_type": "audio/mpeg",
                    "size_bytes": 646848,
                    "hash": "a50c833c62f988b25b28f42ce4bad0a2"
                }
            ],
            "category": "cloned",
            "fine_tuning": {
                "language": null,
                "is_allowed_to_fine_tune": false,
                "fine_tuning_requested": false,
                "finetuning_state": "not_started",
                "verification_attempts": null,
                "verification_failures": [],
                "verification_attempts_count": 0,
                "slice_ids": null,
                "manual_verification": null,
                "manual_verification_requested": false
            },
            "labels": {
                "accent": "American",
                "sex": "male",
                "type": "slightly raspy",
                "age": "50+"
            },

So it should appear as:

DaveH (cloned) - American, male, slightly raspy, 50+
davehorton commented 9 months ago

@xquanluu there is a bug when setting a voice in the Application view. When I save it, it does use that name but when I come back in again to the Application page it shows the voice as the first one in the list (Adam) not the one I selected

https://www.loom.com/share/864a6003e49b4e3cb36dabf6287880f3?sid=3a6d9145-285a-42da-979f-565294bd3707

xquanluu commented 9 months ago

Fixed