vilarin commited on
Commit
024309b
1 Parent(s): 9c40ca8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ def generate_image(
60
  prompt=text,
61
  height=height,
62
  width=width,
63
- guidance_scale=scale,
64
  output_type="pil",
65
  num_inference_steps=steps,
66
  max_sequence_length=512,
@@ -128,7 +128,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
128
  value=50,
129
  )
130
  seed = gr.Slider(
131
- label="Seed (-1 Random)",
132
  minimum=-1,
133
  maximum=MAX_SEED,
134
  step=1,
 
60
  prompt=text,
61
  height=height,
62
  width=width,
63
+ guidance_scale=scales,
64
  output_type="pil",
65
  num_inference_steps=steps,
66
  max_sequence_length=512,
 
128
  value=50,
129
  )
130
  seed = gr.Slider(
131
+ label="Seed(-1 Random)",
132
  minimum=-1,
133
  maximum=MAX_SEED,
134
  step=1,