November 9, 20232 yr Self-hosted WebUI (streamlit-based) to various GPT and Image generation APIs (requires valid API keys for each provider). Supports some OpenAI API-compatible providers, such as Perplexity AI, Gemini AI and the self-hosted Ollama, enabling end users to install a self-hosted version of the WebUI to access the capabilities of various OpenAI API-compatible GPTs and Image generation APIs, then share access to the tool's capabilities while consolidating billing through API keys. Latest version: v0.9.11 (20250513) Quote Important The Unraid template and the base container image have changed from an Unraid-specific build to a single build. Please install a new version as the environment variables have changed. See https://hub.docker.com/r/infotrend/openai_webui and https://github.com/Infotrend-Inc/OpenAI_WebUI for details Please review https://github.com/Infotrend-Inc/OpenAI_WebUI/README.md for two sections in particular: - the .env for supported environment variables that are defined in this template - the Unraid specific setup section that introduces features not enabled by default: a default username for single user mode, and the ability to password protect the WebUI. This container is built from the source available at https://github.com/Infotrend-Inc/OpenAI_WebUI Edited May 13, 20251 yr by Infotrend Inc. updated to v0.9.11
November 12, 20232 yr Hey there, I've spent a while trying to get this working, but I'm not having much success. Maybe you can advise, @Infotrend Inc.?? The container boots fine, but when I go to the web interface, I get a blank dark blue screen. there's a ... menu on the top right, and I can go to settings there. there is "made with streamlit" down on the bottom left and there's a gradient from red to yellow across the top. I've tried a couple of different browsers and computers, and I get the same result.. Also, when I refresh, for just a microsecond there's a box that pops up, which says "please wait". I've got no errors in the logs. Also, as a minor side note.. any chance you can allow reverse proxies, or a variable for the url? Edited November 12, 20232 yr by kharntiitar add additional question
November 13, 20232 yr Author 19 hours ago, kharntiitar said: The container boots fine, but when I go to the web interface, I get a blank dark blue screen. there's a ... menu on the top right, and I can go to settings there. there is "made with streamlit" down on the bottom left and there's a gradient from red to yellow across the top. I've tried a couple of different browsers and computers, and I get the same result.. Also, when I refresh, for just a microsecond there's a box that pops up, which says "please wait". I've got no errors in the logs. That usually means the script encountered an error before the streamlit UI is able to boot. Usually this is related to the provided environment variables. All of them need to have a value. I would suggest from the Docker tab to click on the icon and checking the logs for error after you start it. Environment check variable errors were not being passed to the UI. I will see about adding UI errors when possible. I have deployed the UI on two different Unraid for testing without encountering this issue. 19 hours ago, kharntiitar said: Also, as a minor side note.. any chance you can allow reverse proxies, or a variable for the url? The tool works directly with reverse proxies that communicate with the IP:PORT of the Unraid installation. This has been tested using Nginx Proxy Manager as well as Cloudflare tunnels. Edited November 13, 20232 yr by Infotrend Inc.
November 15, 20232 yr Is there a limit to the "OAIWUI_GPT_MODELS:"? I have the models below but adding them in the field doesn't allow me to get past the "Enter User" screen. Checked logs but nothing. Thanks! gpt-3.5-turbo,gpt-3.5-turbo-0301,gpt-3.5-turbo-0613,gpt-3.5-turbo-1106,gpt-3.5-turbo-16k,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo-instruct,gpt-3.5-turbo-instruct-0914,gpt-4 Side Note: It does NOT like when there are spaces after the commas. Edited November 15, 20232 yr by Dmitriyus
November 20, 20232 yr Author On 11/15/2023 at 6:10 PM, Dmitriyus said: Is there a limit to the "OAIWUI_GPT_MODELS:"? I have the models below but adding them in the field doesn't allow me to get past the "Enter User" screen. Checked logs but nothing. Thanks! gpt-3.5-turbo,gpt-3.5-turbo-0301,gpt-3.5-turbo-0613,gpt-3.5-turbo-1106,gpt-3.5-turbo-16k,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo-instruct,gpt-3.5-turbo-instruct-0914,gpt-4 Side Note: It does NOT like when there are spaces after the commas. First, thank you for the note on the spaces, I should have fixed this in the latest branch (soon to be released as v0.9.1) To answer your question: Yes, the tool has a limited list of models supported (it displays a small help for each model based on that knowledge). I am adding a UI error (in the latest branch) that will let you know the list of models not supported from the list. In particular, for gpt-3.5, older models ("0301", "0613") are "Legacy" models per https://platform.openai.com/docs/models/gpt-3-5 so we did not include them in the release. The current list of supported models is in the ".env.example" file (see first post), which currently contains: gpt-3.5-turbo gpt-3.5-turbo-16k gpt-3.5-turbo-1106 gpt-4 gpt-4-32k gpt-4-1106-preview As for the "instruct" models, per their model page "Similar capabilities as text-davinci-003 but compatible with legacy Completions endpoint and not Chat Completions" knowing that "text-davinci-003" is a legacy API at this point, it also was not added. We have also removed that piece of code (legacy completion) in favor of the chat one. I hope this helps answer your questions. Edited November 20, 20232 yr by Infotrend Inc.
December 5, 20232 yr Hey @Infotrend Inc., thanks for getting back to me so fast, sorry I failed to achieve the same. Quote That usually means the script encountered an error before the streamlit UI is able to boot. Usually this is related to the provided environment variables. All of them need to have a value. You were 100% correct on it being an environmental variable. I had, in my haste to get it setup, set the value of "OAIWUI_SAVEDIR" to the path of a host folder, rather than correctly to "/iti". I have no idea how I missed this, but stepping away for a couple of weeks has helped me work it out Quote The tool works directly with reverse proxies that communicate with the IP:PORT of the Unraid installation. This has been tested using Nginx Proxy Manager as well as Cloudflare tunnels. I think this is what is causing my ongoing issue, I use a MACVLAN network for my unraid containers, so my IP isn't the same as my unraid install. Either that or I've misconfigured something. Edited December 5, 20232 yr by kharntiitar Edited for clarity and succinctness.
December 10, 20232 yr Author On 12/5/2023 at 5:57 PM, kharntiitar said: You were 100% correct on it being an environmental variable. I had, in my haste to get it setup, set the value of "OAIWUI_SAVEDIR" to the path of a host folder, rather than correctly to "/iti". I have no idea how I missed this, but stepping away for a couple of weeks has helped me work it out Glad the environment variable issue got resolved. As for the networking issue, I am uncertain on how to help, unfortunately. Edited December 10, 20232 yr by Infotrend Inc.
July 2, 20242 yr Could it be used to install GPT trans on unraid ( ie: bazarr ?) https://github.com/machinewrapped/gpt-subtrans
July 2, 20242 yr 19 minutes ago, Maitresinh said: Could it be used to install GPT trans on unraid ( ie: bazarr ?) Unfortunately, this is not the purpose of the tool. If subtrans can be run as a Docker container, I would investigate a tool like Dokge or Dockemon (which are in the App Catalog) to start the service.
September 14, 20241 yr Far beyond my skills and time i'm afraid, but thanks for the tips. Seems quite an interesting way to do it
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.