amazonaws-sp commited on
Commit
93cdc33
1 Parent(s): 8479e20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def generate(
52
  vaecall = 'madebyollin/sdxl-vae-fp16-fix',
53
  lora = '',
54
  lora_scale: float = 0.7,
55
- url = "",
56
  ):
57
  if torch.cuda.is_available():
58
 
@@ -113,6 +113,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
113
  model = gr.Text(label='Model', placeholder='e.g. stabilityai/stable-diffusion-xl-base-1.0')
114
  vaecall = gr.Text(label='VAE', placeholder='e.g. madebyollin/sdxl-vae-fp16-fix')
115
  lora = gr.Text(label='LoRA', placeholder='e.g. nerijs/pixel-art-xl')
 
116
  lora_scale = gr.Slider(
117
  info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
118
  label="Lora Scale",
 
52
  vaecall = 'madebyollin/sdxl-vae-fp16-fix',
53
  lora = '',
54
  lora_scale: float = 0.7,
55
+ url = '',
56
  ):
57
  if torch.cuda.is_available():
58
 
 
113
  model = gr.Text(label='Model', placeholder='e.g. stabilityai/stable-diffusion-xl-base-1.0')
114
  vaecall = gr.Text(label='VAE', placeholder='e.g. madebyollin/sdxl-vae-fp16-fix')
115
  lora = gr.Text(label='LoRA', placeholder='e.g. nerijs/pixel-art-xl')
116
+ url = gr.Text(label='URL', placeholder='URL for image')
117
  lora_scale = gr.Slider(
118
  info="The closer to 1, the more it will resemble LoRA, but errors may be visible.",
119
  label="Lora Scale",