fffiloni commited on
Commit
3d09012
1 Parent(s): 722bde9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -123,22 +123,23 @@ def process_image(input_url):
123
  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.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
 
 
123
  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
+ with gr.Row():
127
+
128
+ with gr.Column(scale=1):
129
+ input_image = gr.Image(
130
+ label="Image input",
131
+ type="filepath",
132
+ height=240
133
+ )
134
 
135
+ submit_button = gr.Button("Process")
136
+ gr.Examples(
137
  examples = examples_folder,
138
  inputs = [input_image],
139
  examples_per_page = 6
140
+ )
141
 
142
+ output_video= gr.Video(label="Output Video", scale=3)
143
 
144
  submit_button.click(process_image, inputs=[input_image], outputs=[output_video])
145