KingNish commited on
Commit
312a5de
1 Parent(s): 5358c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,9 +97,9 @@ with gr.Blocks() as demo:
97
  cache_examples="lazy"
98
  )
99
 
100
- def enhance_image(*args):
101
  gr.Info("Enhancing Image") # currently just runs optimized pipeline for 2 steps. Further implementations later.
102
- return next(generate_image(*args))
103
 
104
  enhanceBtn.click(
105
  fn=enhance_image,
 
97
  cache_examples="lazy"
98
  )
99
 
100
+ def enhance_image(prompt, current_seed, width, height):
101
  gr.Info("Enhancing Image") # currently just runs optimized pipeline for 2 steps. Further implementations later.
102
+ return next(generate_image(prompt, current_seed, width, height))
103
 
104
  enhanceBtn.click(
105
  fn=enhance_image,