Spaces:
doevent
/
Running on Zero

ohayonguy commited on
Commit
aa95a62
·
1 Parent(s): 9c7b483

improved interface

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -255,16 +255,17 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
255
 
256
  with gr.Row():
257
  with gr.Column(scale=1):
258
- input_im = gr.Image(label="Input", type="filepath", show_label=True)
259
- with gr.Column(scale=1):
260
- result = gr.Image(label="Output", type="numpy", show_label=True, format="png")
261
- with gr.Row():
262
- with gr.Column(scale=1):
263
  with gr.Row():
264
  with gr.Column(scale=1):
265
  run_button = gr.Button(value="Submit", variant="primary")
266
  with gr.Column(scale=1):
267
  clear_button = gr.ClearButton(value="Clear")
 
 
 
 
268
  with gr.Row():
269
  num_inference_steps = gr.Slider(
270
  label="Number of Inference Steps", minimum=1, maximum=200, step=1, value=25, scale=1
 
255
 
256
  with gr.Row():
257
  with gr.Column(scale=1):
258
+ with gr.Row():
259
+ input_im = gr.Image(label="Input", type="filepath", show_label=True)
 
 
 
260
  with gr.Row():
261
  with gr.Column(scale=1):
262
  run_button = gr.Button(value="Submit", variant="primary")
263
  with gr.Column(scale=1):
264
  clear_button = gr.ClearButton(value="Clear")
265
+ with gr.Column(scale=1):
266
+ result = gr.Image(label="Output", type="numpy", show_label=True, format="png")
267
+ with gr.Row():
268
+ with gr.Column(scale=1):
269
  with gr.Row():
270
  num_inference_steps = gr.Slider(
271
  label="Number of Inference Steps", minimum=1, maximum=200, step=1, value=25, scale=1