developerskyebrowse commited on
Commit
c5fdec1
·
1 Parent(s): 86b2419
Files changed (2) hide show
  1. app.py +5 -5
  2. local_app.py +5 -5
app.py CHANGED
@@ -299,8 +299,8 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
299
  label="Design Styles",
300
  )
301
  # input image
302
- with gr.Row():
303
- with gr.Column():
304
  image = gr.Image(
305
  label="Input",
306
  sources=["upload"],
@@ -310,9 +310,9 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
310
  )
311
  # run button
312
  with gr.Column():
313
- run_button = gr.Button(value="Use this one", size=["lg"], visible=False)
314
  # output image
315
- with gr.Column():
316
  result = gr.Image(
317
  label="Output",
318
  interactive=False,
@@ -321,7 +321,7 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
321
  )
322
  # Use this image button
323
  with gr.Column():
324
- use_ai_button = gr.Button(value="Use this one", size=["lg"], visible=False)
325
  config = [
326
  image,
327
  style_selection,
 
299
  label="Design Styles",
300
  )
301
  # input image
302
+ with gr.Row(equal_height=True):
303
+ with gr.Column(scale=1, min_width=300):
304
  image = gr.Image(
305
  label="Input",
306
  sources=["upload"],
 
310
  )
311
  # run button
312
  with gr.Column():
313
+ run_button = gr.Button(value="Use this one", size="lg", visible=False)
314
  # output image
315
+ with gr.Column(scale=1, min_width=300):
316
  result = gr.Image(
317
  label="Output",
318
  interactive=False,
 
321
  )
322
  # Use this image button
323
  with gr.Column():
324
+ use_ai_button = gr.Button(value="Use this one", size="lg", visible=False)
325
  config = [
326
  image,
327
  style_selection,
local_app.py CHANGED
@@ -303,8 +303,8 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
303
  label="Design Styles",
304
  )
305
  # input image
306
- with gr.Row():
307
- with gr.Column():
308
  image = gr.Image(
309
  label="Input",
310
  sources=["upload"],
@@ -314,9 +314,9 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
314
  )
315
  # run button
316
  with gr.Column():
317
- run_button = gr.Button(value="Use this one", size=["lg"], visible=False)
318
  # output image
319
- with gr.Column():
320
  result = gr.Image(
321
  label="Output",
322
  interactive=False,
@@ -325,7 +325,7 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
325
  )
326
  # Use this image button
327
  with gr.Column():
328
- use_ai_button = gr.Button(value="Use this one", size=["lg"], visible=False)
329
  config = [
330
  image,
331
  style_selection,
 
303
  label="Design Styles",
304
  )
305
  # input image
306
+ with gr.Row(equal_height=True):
307
+ with gr.Column(scale=1, min_width=300):
308
  image = gr.Image(
309
  label="Input",
310
  sources=["upload"],
 
314
  )
315
  # run button
316
  with gr.Column():
317
+ run_button = gr.Button(value="Use this one", size="lg", visible=False)
318
  # output image
319
+ with gr.Column(scale=1, min_width=300):
320
  result = gr.Image(
321
  label="Output",
322
  interactive=False,
 
325
  )
326
  # Use this image button
327
  with gr.Column():
328
+ use_ai_button = gr.Button(value="Use this one", size="lg", visible=False)
329
  config = [
330
  image,
331
  style_selection,