Spaces:
Running
on
Zero
Running
on
Zero
Add application file
Browse files
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
app.py
CHANGED
@@ -88,7 +88,7 @@ def main(_):
|
|
88 |
""") as demo:
|
89 |
with gr.Column():
|
90 |
image_list = gr.State([])
|
91 |
-
gr.Markdown('#
|
92 |
gr.Markdown(f'Serving model: {FLAGS.checkpoint}')
|
93 |
gr.Markdown('## Inputs')
|
94 |
with gr.Row():
|
@@ -110,7 +110,7 @@ def main(_):
|
|
110 |
label='Number of candidates',
|
111 |
minimum=1,
|
112 |
maximum=10,
|
113 |
-
value=
|
114 |
step=1,
|
115 |
interactive=True,
|
116 |
)
|
@@ -143,7 +143,7 @@ def main(_):
|
|
143 |
object_fit='scale-down',
|
144 |
label="Input image sequence"
|
145 |
)
|
146 |
-
gr.Markdown('## Outputs')
|
147 |
output_gallery = gr.Gallery(
|
148 |
columns=4,
|
149 |
object_fit='scale-down',
|
|
|
88 |
""") as demo:
|
89 |
with gr.Column():
|
90 |
image_list = gr.State([])
|
91 |
+
gr.Markdown('# LVM Demo')
|
92 |
gr.Markdown(f'Serving model: {FLAGS.checkpoint}')
|
93 |
gr.Markdown('## Inputs')
|
94 |
with gr.Row():
|
|
|
110 |
label='Number of candidates',
|
111 |
minimum=1,
|
112 |
maximum=10,
|
113 |
+
value=4,
|
114 |
step=1,
|
115 |
interactive=True,
|
116 |
)
|
|
|
143 |
object_fit='scale-down',
|
144 |
label="Input image sequence"
|
145 |
)
|
146 |
+
gr.Markdown('## Outputs (multi candidates)')
|
147 |
output_gallery = gr.Gallery(
|
148 |
columns=4,
|
149 |
object_fit='scale-down',
|