muneebable commited on
Commit
5aacb28
·
verified ·
1 Parent(s): 55cee48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -202,6 +202,7 @@ with gr.Blocks() as demo:
202
  style_input = gr.Image(label="Style Image", type="numpy", image_mode="RGB", height=400, width=400)
203
  with gr.Column():
204
  output_image = gr.Image(label="Output Image")
 
205
 
206
  with gr.Row():
207
  alpha_slider = gr.Slider(minimum=0, maximum=1, value=1, step=0.1, label="Content Weight (α)")
@@ -217,7 +218,6 @@ with gr.Blocks() as demo:
217
  steps_slider = gr.Slider(minimum=1, maximum=2000, value=1000, step=100, label="Number of Steps")
218
 
219
  run_button = gr.Button("Run Style Transfer")
220
- intermediate_output = gr.Image(label="Intermediate Results")
221
 
222
  run_button.click(
223
  style_transfer,
 
202
  style_input = gr.Image(label="Style Image", type="numpy", image_mode="RGB", height=400, width=400)
203
  with gr.Column():
204
  output_image = gr.Image(label="Output Image")
205
+ intermediate_output = gr.Image(label="Intermediate Results")
206
 
207
  with gr.Row():
208
  alpha_slider = gr.Slider(minimum=0, maximum=1, value=1, step=0.1, label="Content Weight (α)")
 
218
  steps_slider = gr.Slider(minimum=1, maximum=2000, value=1000, step=100, label="Number of Steps")
219
 
220
  run_button = gr.Button("Run Style Transfer")
 
221
 
222
  run_button.click(
223
  style_transfer,