dimentox commited on
Commit
436c426
1 Parent(s): ac9a66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def main():
64
 
65
  generator = torch.manual_seed(seed)
66
  edited_image = pipe(
67
- instruction,
68
  guidance_scale=text_cfg_scale, image_guidance_scale=image_cfg_scale,
69
  num_inference_steps=steps, generator=generator,
70
  ).images[0]
@@ -124,7 +124,6 @@ def main():
124
  generate_button.click(
125
  fn=generate,
126
  inputs=[
127
- input_image,
128
  instruction,
129
  steps,
130
  randomize_seed,
 
64
 
65
  generator = torch.manual_seed(seed)
66
  edited_image = pipe(
67
+ instruction,
68
  guidance_scale=text_cfg_scale, image_guidance_scale=image_cfg_scale,
69
  num_inference_steps=steps, generator=generator,
70
  ).images[0]
 
124
  generate_button.click(
125
  fn=generate,
126
  inputs=[
 
127
  instruction,
128
  steps,
129
  randomize_seed,