KingNish commited on
Commit
df3766c
1 Parent(s): 38f7479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -97,12 +97,8 @@ with gr.Blocks() as demo:
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,
106
  inputs=[prompt, seed, width, height],
107
  outputs=[result, seed, latency],
108
  show_progress="full",
 
97
  cache_examples="lazy"
98
  )
99
 
 
 
 
 
100
  enhanceBtn.click(
101
+ fn=generate_image,
102
  inputs=[prompt, seed, width, height],
103
  outputs=[result, seed, latency],
104
  show_progress="full",