vilarin commited on
Commit
f4107e3
1 Parent(s): 0c6fdde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ if torch.cuda.is_available():
45
  @spaces.GPU()
46
  def generate_image(
47
  prompt,
48
- negative,
49
  width=1024,
50
  height=1024,
51
  scale=1.5,
@@ -123,7 +123,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
123
  )
124
  gr.Examples(
125
  examples=examples,
126
- inputs=[prompt, negative, width, height, scale, steps],
127
  outputs=img,
128
  fn=generate_image,
129
  cache_examples="lazy",
 
45
  @spaces.GPU()
46
  def generate_image(
47
  prompt,
48
+ negative="low quality",
49
  width=1024,
50
  height=1024,
51
  scale=1.5,
 
123
  )
124
  gr.Examples(
125
  examples=examples,
126
+ inputs=prompt,
127
  outputs=img,
128
  fn=generate_image,
129
  cache_examples="lazy",