amazonaws-sp commited on
Commit
80431ca
·
verified ·
1 Parent(s): b71a9b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -53,8 +53,8 @@ def generate(
53
  model = 'runwayml/stable-diffusion-v1-5',
54
  vaecall = 'madebyollin/sdxl-vae-fp16-fix',
55
  lora = '',
56
- url = "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/assets/stable-samples/img2img/sketch-mountains-input.jpg",
57
  lora_scale: float = 0.7,
 
58
  ):
59
  if torch.cuda.is_available():
60
 
@@ -282,7 +282,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
282
  model,
283
  vaecall,
284
  lora,
285
- url,
286
  lora_scale,
287
  ],
288
  outputs=result,
 
53
  model = 'runwayml/stable-diffusion-v1-5',
54
  vaecall = 'madebyollin/sdxl-vae-fp16-fix',
55
  lora = '',
 
56
  lora_scale: float = 0.7,
57
+ url = "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/assets/stable-samples/img2img/sketch-mountains-input.jpg",
58
  ):
59
  if torch.cuda.is_available():
60
 
 
282
  model,
283
  vaecall,
284
  lora,
 
285
  lora_scale,
286
  ],
287
  outputs=result,