Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -124,21 +124,21 @@ def gradio_interface():
|
|
124 |
with gr.Blocks() as app:
|
125 |
gr.Markdown("# PSHuman: Photorealistic Single-image 3D Human Reconstruction using Cross-Scale Multiview Diffusion and Explicit Remeshing")
|
126 |
|
127 |
-
with gr.
|
128 |
input_image = gr.Image(
|
129 |
label="Image input",
|
130 |
type="filepath",
|
131 |
height=240
|
132 |
)
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
examples = examples_folder,
|
137 |
inputs = [input_image],
|
138 |
examples_per_page = 6
|
139 |
-
|
140 |
|
141 |
-
|
142 |
|
143 |
submit_button.click(process_image, inputs=[input_image], outputs=[output_video])
|
144 |
|
|
|
124 |
with gr.Blocks() as app:
|
125 |
gr.Markdown("# PSHuman: Photorealistic Single-image 3D Human Reconstruction using Cross-Scale Multiview Diffusion and Explicit Remeshing")
|
126 |
|
127 |
+
with gr.Column():
|
128 |
input_image = gr.Image(
|
129 |
label="Image input",
|
130 |
type="filepath",
|
131 |
height=240
|
132 |
)
|
133 |
+
|
134 |
+
submit_button = gr.Button("Process")
|
135 |
+
gr.Examples(
|
136 |
examples = examples_folder,
|
137 |
inputs = [input_image],
|
138 |
examples_per_page = 6
|
139 |
+
)
|
140 |
|
141 |
+
output_video= gr.Video(label="Output Video")
|
142 |
|
143 |
submit_button.click(process_image, inputs=[input_image], outputs=[output_video])
|
144 |
|