zenafey commited on
Commit
b37664d
1 Parent(s): ba57879

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ Original code by Zenafey
4
  """
5
  import gradio as gr
6
 
7
- from engine import generate_sd, generate_sdxl, transform_sd, controlnet_sd, upscale, get_models
8
  from const import CMODELS, CMODULES, SAMPLER_LIST, SDXL_MODEL_LIST
9
 
10
 
@@ -166,6 +166,6 @@ with gr.Blocks() as demo:
166
  with gr.Column():
167
  image_output = gr.Image()
168
 
169
- upscale_btn.click(upscale, inputs=[image_input, scale_by], outputs=image_output)
170
 
171
  demo.launch(show_api=False)
 
4
  """
5
  import gradio as gr
6
 
7
+ from engine import generate_sd, generate_sdxl, transform_sd, controlnet_sd, image_upscale, get_models
8
  from const import CMODELS, CMODULES, SAMPLER_LIST, SDXL_MODEL_LIST
9
 
10
 
 
166
  with gr.Column():
167
  image_output = gr.Image()
168
 
169
+ upscale_btn.click(image_upscale, inputs=[image_input, scale_by], outputs=image_output)
170
 
171
  demo.launch(show_api=False)