muneebable commited on
Commit
a93d1b4
·
verified ·
1 Parent(s): 58ffcc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -203,6 +203,7 @@ with gr.Blocks() as demo:
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 (α)")
@@ -217,8 +218,6 @@ with gr.Blocks() as demo:
217
 
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,
224
  inputs=[
 
203
  with gr.Column():
204
  output_image = gr.Image(label="Output Image")
205
  intermediate_output = gr.Image(label="Intermediate Results")
206
+ run_button = gr.Button("Run Style Transfer")
207
 
208
  with gr.Row():
209
  alpha_slider = gr.Slider(minimum=0, maximum=1, value=1, step=0.1, label="Content Weight (α)")
 
218
 
219
  steps_slider = gr.Slider(minimum=1, maximum=2000, value=1000, step=100, label="Number of Steps")
220
 
 
 
221
  run_button.click(
222
  style_transfer,
223
  inputs=[