hpwang commited on
Commit
d47a7e5
1 Parent(s): 57dc0b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -51,6 +51,7 @@ def render_video(output_path):
51
 
52
  def process(rgb,num_coarse_views,num_mcs_views,mcs_rect_w,mcs_steps):
53
  path = scene_generate(rgb,num_coarse_views,num_mcs_views,mcs_rect_w,mcs_steps)
 
54
  return render_video(path)
55
 
56
  with gr.Blocks(analytics_enabled=False) as demo:
@@ -88,15 +89,6 @@ with gr.Blocks(analytics_enabled=False) as demo:
88
  dpt_video = gr.Video("Output DPT renderings")
89
  examples = gr.Examples(
90
  examples = [
91
- ['',
92
- '',
93
- ''],
94
- ['',
95
- '',
96
- ''],
97
- ['',
98
- '',
99
- '']
100
  ],
101
  inputs=[input_image,rgb_video,dpt_video]
102
  )
 
51
 
52
  def process(rgb,num_coarse_views,num_mcs_views,mcs_rect_w,mcs_steps):
53
  path = scene_generate(rgb,num_coarse_views,num_mcs_views,mcs_rect_w,mcs_steps)
54
+ rgb.save(output_path+'input.png')
55
  return render_video(path)
56
 
57
  with gr.Blocks(analytics_enabled=False) as demo:
 
89
  dpt_video = gr.Video("Output DPT renderings")
90
  examples = gr.Examples(
91
  examples = [
 
 
 
 
 
 
 
 
 
92
  ],
93
  inputs=[input_image,rgb_video,dpt_video]
94
  )