jiuface commited on
Commit
4b5a4b8
·
1 Parent(s): 9e8bd2e

change output to pil

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks() as demo:
147
  input_image = gr.Image(type="pil", label="Input Image")
148
  run_button = gr.ClearButton(components=None, value="Enhance Image")
149
  with gr.Column():
150
- output_slider = ImageSlider(label="Generate image", type="filepath", slider_color="pink")
151
  run_button.add(output_slider)
152
 
153
  with gr.Accordion("Advanced Options", open=False):
 
147
  input_image = gr.Image(type="pil", label="Input Image")
148
  run_button = gr.ClearButton(components=None, value="Enhance Image")
149
  with gr.Column():
150
+ output_slider = ImageSlider(label="Generate image", type="pil", slider_color="pink")
151
  run_button.add(output_slider)
152
 
153
  with gr.Accordion("Advanced Options", open=False):