Skip to content

Confusion about web UI and existing configuration #234

Description

@handcraftedbits

Running server --config ... has a few issues for me, which may just be that I'm missing something:

  • All available models are presented. I would've expected it to be limited to just the ones in my configuration (per the documentation, it says that unless you add --ui-management you can't do model switching, so in my mind that would imply that the UI options should be limited to what's in the configuration).
  • My server preloads models, and when I try to do TTS with a model I know is loaded, I just get a "Model did not load" error.
  • I tried checking out the Models tab and in the console I see:
    {
      "error": {
          "message": "UI path inspection is disabled",
          "type": "forbidden"
      }
    }
    It looks like --ui-management controls that option, fair enough, but it's not really documented. In the UI it's also not really obvious that you would have to turn that option on in order to "unlock" all the functionality.

It seems to me that the UI is geared towards fetching and exploring different models. Which is really nice! But it would be nice if there could be a UI that's restricted to exactly what's in your configuration -- no downloads, no loading (well, apart from lazy loading what's in the config), no distractions. Just a playground for your exact audio.cpp's configuration (including enumerating all the defined voices for a model, that would be awesome).

Thanks again for this great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwebui

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions