Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def stitch_rgbd_videos(
|
|
| 128 |
os.replace(temp_audio_path, stitched_video_path)
|
| 129 |
|
| 130 |
# Return stitched video.
|
| 131 |
-
return
|
| 132 |
|
| 133 |
def construct_demo():
|
| 134 |
with gr.Blocks(analytics_enabled=False) as demo:
|
|
@@ -162,7 +162,7 @@ def construct_demo():
|
|
| 162 |
generate_btn.click(
|
| 163 |
fn=stitch_rgbd_videos,
|
| 164 |
inputs=[processed_video, depth_vis_video, max_len, target_fps, max_res, stitch_option, grayscale_option, convert_from_color_option, blur_slider],
|
| 165 |
-
outputs=
|
| 166 |
)
|
| 167 |
|
| 168 |
return demo
|
|
|
|
| 128 |
os.replace(temp_audio_path, stitched_video_path)
|
| 129 |
|
| 130 |
# Return stitched video.
|
| 131 |
+
return stitched_video_path
|
| 132 |
|
| 133 |
def construct_demo():
|
| 134 |
with gr.Blocks(analytics_enabled=False) as demo:
|
|
|
|
| 162 |
generate_btn.click(
|
| 163 |
fn=stitch_rgbd_videos,
|
| 164 |
inputs=[processed_video, depth_vis_video, max_len, target_fps, max_res, stitch_option, grayscale_option, convert_from_color_option, blur_slider],
|
| 165 |
+
outputs=stitched_video,
|
| 166 |
)
|
| 167 |
|
| 168 |
return demo
|