amazonaws-sp commited on
Commit
b71a9b5
·
verified ·
1 Parent(s): 75a8cb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def generate(
53
  model = 'runwayml/stable-diffusion-v1-5',
54
  vaecall = 'madebyollin/sdxl-vae-fp16-fix',
55
  lora = '',
56
- url: str = "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():
@@ -282,6 +282,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
282
  model,
283
  vaecall,
284
  lora,
 
285
  lora_scale,
286
  ],
287
  outputs=result,
 
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():
 
282
  model,
283
  vaecall,
284
  lora,
285
+ url,
286
  lora_scale,
287
  ],
288
  outputs=result,