Spaces:
Runtime error
Runtime error
update gr block
Browse files
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
|
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
|
182 |
-
ori_image = gr.Image(label="Standard PyTorch
|
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")
|