mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
Fix #58 - While a .. in the path shouldn't cause any problems, just avoiding it entirely
This commit is contained in:
parent
458b0150ef
commit
7d69f4d3ed
@ -97,7 +97,9 @@
|
||||
|
||||
@echo. & echo "Stable Diffusion is ready!" & echo.
|
||||
|
||||
@set SD_UI_PATH=%cd%\..\ui
|
||||
@cd ..
|
||||
@set SD_UI_PATH=%cd%\ui
|
||||
@cd stable-diffusion
|
||||
|
||||
@uvicorn server:app --app-dir "%SD_UI_PATH%" --port 9000 --host 0.0.0.0
|
||||
|
||||
|
@ -73,7 +73,11 @@ fi
|
||||
|
||||
printf "\n\nStable Diffusion is ready!\n\n"
|
||||
|
||||
export SD_UI_PATH=`pwd`/../ui
|
||||
cd ..
|
||||
|
||||
export SD_UI_PATH=`pwd`/ui
|
||||
|
||||
cd stable-diffusion
|
||||
|
||||
uvicorn server:app --app-dir "$SD_UI_PATH" --port 9000 --host 0.0.0.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user