oobabooga / one-click-installers

Simplified installers for oobabooga/text-generation-webui.
GNU Affero General Public License v3.0
550 stars 186 forks source link

webui.py - add parameter in webui.py launch_webui() #108

Closed mongolu closed 1 year ago

mongolu commented 1 year ago

Hello. I'm using linux one-click installers in a docker image. When running startup_linux.sh from Dockerfile to install everything inside the image., I've made use of sed to comment the launch_webui() call, and when finished, again sed to uncomment it back.

Can an ENV var be added, just like OOBABOOGA_FLAGS (smth like OOBABOOGA_LAUNCH_AFTER_INSTALL), and if it's set to False, not to execute launch_webui() ?

mongolu commented 1 year ago

I've added a PR #111 for this. Please review it. The addition of the two ENVs doesn't modify actual logic if they don't exist.

mongolu commented 1 year ago

Please, can you review this PR?

mongolu commented 1 year ago

Help here, please. I've written a docker-compose (w/ Dockerfile) which is based on one-click-installer and really want to be the base for the build. It's working, I'm using right now, it has in it also cuda toolkit 11.7 toolkit installed). And when starting it's calling update to have it fresh.

github-actions[bot] commented 1 year ago

This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.