habulaj commited on
Commit
ae07035
·
verified ·
1 Parent(s): e629eb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,8 +233,8 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
233
  with gr.Group():
234
  model = gr.Text(label='Model', value='stabilityai/stable-diffusion-xl-base-1.0', placeholder='e.g. stabilityai/stable-diffusion-xl-base-1.0', info='Enter the HUB path for this model! The model must be converted to diffusers to work. We recommend SG161222/RealVisXL_V4.0 for realistic generations, for example. By default, SDXL 1.0 (stabilityai/stable-diffusion-xl-base-1.0) will be used.')
235
  vaecall = gr.Text(label='VAE', placeholder='e.g. madebyollin/sdxl-vae-fp16-fix', info='You can use the VAE that suits you best! Using an unfamiliar VAE or one that is not from the same base model mentioned above will result in errors or distorted images. You must enable "Use VAE" in advanced settings if you want to use a VAE.')
236
- lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl')
237
- lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl')
238
  controlnet_model = gr.Text(label='Controlnet', placeholder='e.g diffusers/controlnet-canny-sdxl-1.0')
239
  lora_scale = gr.Slider(
240
  info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
 
233
  with gr.Group():
234
  model = gr.Text(label='Model', value='stabilityai/stable-diffusion-xl-base-1.0', placeholder='e.g. stabilityai/stable-diffusion-xl-base-1.0', info='Enter the HUB path for this model! The model must be converted to diffusers to work. We recommend SG161222/RealVisXL_V4.0 for realistic generations, for example. By default, SDXL 1.0 (stabilityai/stable-diffusion-xl-base-1.0) will be used.')
235
  vaecall = gr.Text(label='VAE', placeholder='e.g. madebyollin/sdxl-vae-fp16-fix', info='You can use the VAE that suits you best! Using an unfamiliar VAE or one that is not from the same base model mentioned above will result in errors or distorted images. You must enable "Use VAE" in advanced settings if you want to use a VAE.')
236
+ lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
237
+ lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
238
  controlnet_model = gr.Text(label='Controlnet', placeholder='e.g diffusers/controlnet-canny-sdxl-1.0')
239
  lora_scale = gr.Slider(
240
  info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",