salso commited on
Commit
44bce5e
·
verified ·
1 Parent(s): 25bc620

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -384,8 +384,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as app:
384
  structure_image = gr.Image(
385
  image_mode='RGB',
386
  label="Structure Image",
387
- type="filepath",
388
- info="Upload an image to provide structure"
389
  )
390
  depth_strength = gr.Slider(
391
  minimum=0,
@@ -411,8 +410,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as app:
411
  with gr.Column(scale=1):
412
  style_image = gr.Image(
413
  label="Style Image",
414
- type="filepath",
415
- info="Upload an image to influence the style"
416
  )
417
  style_strength = gr.Slider(
418
  minimum=0,
@@ -423,7 +421,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as app:
423
  )
424
 
425
  with gr.Row():
426
- generate_btn = gr.Button("Generate", value=True, variant="primary")
427
 
428
  with gr.Column(scale=1):
429
  output_image = gr.Image(label="Generated Image")
 
384
  structure_image = gr.Image(
385
  image_mode='RGB',
386
  label="Structure Image",
387
+ type="filepath"
 
388
  )
389
  depth_strength = gr.Slider(
390
  minimum=0,
 
410
  with gr.Column(scale=1):
411
  style_image = gr.Image(
412
  label="Style Image",
413
+ type="filepath"
 
414
  )
415
  style_strength = gr.Slider(
416
  minimum=0,
 
421
  )
422
 
423
  with gr.Row():
424
+ generate_btn = gr.Button("Generate",value=True, variant="primary")
425
 
426
  with gr.Column(scale=1):
427
  output_image = gr.Image(label="Generated Image")