multimodalart HF staff commited on
Commit
0c6ce0e
1 Parent(s): 965fecf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -40,7 +40,7 @@ def infer(control_image, seed=42, randomize_seed=False, width=1024, height=1024,
40
  css="""
41
  #col-container {
42
  margin: 0 auto;
43
- max-width: 600px;
44
  }
45
  """
46
 
@@ -51,11 +51,11 @@ with gr.Blocks(css=css) as demo:
51
  An adapter for FLUX [dev] to create image variations
52
  [[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
53
  """)
54
-
55
- input_image = gr.Image(label="Image to create variations", type="pil")
56
- run_button = gr.Button("Run")
57
-
58
- result = gr.Image(label="Result", show_label=False)
59
 
60
  with gr.Accordion("Advanced Settings", open=False):
61
 
 
40
  css="""
41
  #col-container {
42
  margin: 0 auto;
43
+ max-width: 960px;
44
  }
45
  """
46
 
 
51
  An adapter for FLUX [dev] to create image variations
52
  [[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
53
  """)
54
+ with gr.Row():
55
+ with gr.Column():
56
+ input_image = gr.Image(label="Image to create variations", type="pil")
57
+ run_button = gr.Button("Run")
58
+ result = gr.Image(label="Result", show_label=False)
59
 
60
  with gr.Accordion("Advanced Settings", open=False):
61