rnwang commited on
Commit
8e6fa23
1 Parent(s): 88f018e

update gr block

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -173,13 +173,13 @@ with demo:
173
  with gr.Row().style(equal_height=False):
174
  input_img = gr.Image(label="input image", value="data/COCO_image.jpg", source="upload")
175
  with gr.Column():
176
- ori_but = gr.Button("Standard PyTorch Lightning")
177
  nano_but = gr.Button("BigDL-Nano")
178
  clear_but = gr.Button("Clear Output")
179
  with gr.Row().style(equal_height=False):
180
  with gr.Column():
181
- ori_time = gr.Text(label="Standard PyTorch Lightning latency")
182
- ori_image = gr.Image(label="Standard PyTorch Lightning output image")
183
  with gr.Column():
184
  nano_time = gr.Text(label="BigDL-Nano latency")
185
  nano_image = gr.Image(label="BigDL-Nano output image")
 
173
  with gr.Row().style(equal_height=False):
174
  input_img = gr.Image(label="input image", value="data/COCO_image.jpg", source="upload")
175
  with gr.Column():
176
+ ori_but = gr.Button("Standard PyTorch")
177
  nano_but = gr.Button("BigDL-Nano")
178
  clear_but = gr.Button("Clear Output")
179
  with gr.Row().style(equal_height=False):
180
  with gr.Column():
181
+ ori_time = gr.Text(label="Standard PyTorch latency")
182
+ ori_image = gr.Image(label="Standard PyTorch output image")
183
  with gr.Column():
184
  nano_time = gr.Text(label="BigDL-Nano latency")
185
  nano_image = gr.Image(label="BigDL-Nano output image")