Closed mongolu closed 1 year ago
Please do accept this PR. I'm using it in a Dockerfile which is relaying on one-click-installer and in the docker-compose it mustn't be running on call.
Docker is beyond the scope of this installer.
Adding these 2 ENVs doesn't change nothing in the execution logic if they don't exist. So, kindly please, give it a second look.
@oobabooga can you revisit this please? This would be very helpful.
…ocker image.
In Dockerfile i run start_linux.sh" which in the end it start python webui.py. In webui.py, at the end, it calls launch_webui(). I included an ENV var called OOBABOOGA_LAUNCH_AFTER_INSTALL which finish execution when false.
The second ENV var is for declaring which GPU choice to use in installation. It's called OOBABOOGA_INSTALL_GPU_CHOICE, and if it's set beforehand, it's used similarly with current variant of user input.