Spaces:
Runtime error
Runtime error
Xu Ma commited on
Commit ·
0f6c050
1
Parent(s): 647fcfd
Update app.py
Browse files
app.py
CHANGED
|
@@ -292,7 +292,7 @@ def main(args):
|
|
| 292 |
inputs_iteration = gr.inputs.Slider(
|
| 293 |
label="Optimization Iteration",
|
| 294 |
default=500, maximum=600, minimum=100, step=100)
|
| 295 |
-
inputs_img = gr.inputs.Image(type="pil", label="Input Image")
|
| 296 |
experiment_id = gr.inputs.Radio(
|
| 297 |
choices=[
|
| 298 |
"add [1] total 1 path for demonstration",
|
|
@@ -318,7 +318,8 @@ def main(args):
|
|
| 318 |
title = "LIVE: Towards Layer-wise Image Vectorization"
|
| 319 |
# description
|
| 320 |
description = "<div align='center'>(CVPR 2022 Oral Presentation)</div>" \
|
| 321 |
-
"<div align='center'>Without GPUs,
|
|
|
|
| 322 |
|
| 323 |
# examples
|
| 324 |
examples = [
|
|
|
|
| 292 |
inputs_iteration = gr.inputs.Slider(
|
| 293 |
label="Optimization Iteration",
|
| 294 |
default=500, maximum=600, minimum=100, step=100)
|
| 295 |
+
inputs_img = gr.inputs.Image(type="pil", label="Input Image", shape=[160, 160])
|
| 296 |
experiment_id = gr.inputs.Radio(
|
| 297 |
choices=[
|
| 298 |
"add [1] total 1 path for demonstration",
|
|
|
|
| 318 |
title = "LIVE: Towards Layer-wise Image Vectorization"
|
| 319 |
# description
|
| 320 |
description = "<div align='center'>(CVPR 2022 Oral Presentation)</div>" \
|
| 321 |
+
"<div align='center'>Without GPUs, LIVE will cost longer time.</div>" \
|
| 322 |
+
"<div align='center'>For efficiency, we rescale all input images to 160x160 in Huggingface Space.</div> "
|
| 323 |
|
| 324 |
# examples
|
| 325 |
examples = [
|