stlaurentjr commited on
Commit
dca07ad
1 Parent(s): e73d616

Update scripts/mainrunpodA1111.py

Browse files
Files changed (1) hide show
  1. scripts/mainrunpodA1111.py +2 -2
scripts/mainrunpodA1111.py CHANGED
@@ -445,8 +445,8 @@ def sd(User, Password, model):
445
  mdlpth="--ckpt "+model
446
  else:
447
  mdlpth="--ckpt-dir "+model
448
-
449
- configf="--vae-path /workspace/sd/stable-diffusion-webui/VAE/vae-ft-mse-840000-ema-pruned.safetensors --disable-console-progressbars --no-half-vae --disable-safe-unpickle --api --no-download-sd-model --opt-sdp-attention --enable-insecure-extension-access --skip-version-check --listen --port 3000 "+auth+" "+mdlpth
450
 
451
  return configf
452
 
 
445
  mdlpth="--ckpt "+model
446
  else:
447
  mdlpth="--ckpt-dir "+model
448
+ vae_path = "--vae-path /workspace/sd/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.safetensors"
449
+ configf="--disable-console-progressbars --no-half-vae --disable-safe-unpickle --api --no-download-sd-model --opt-sdp-attention --enable-insecure-extension-access --skip-version-check --listen --port 3000 "+auth+" "+mdlpth+" "+vae_path
450
 
451
  return configf
452