Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -351,10 +351,10 @@ with gr.Blocks() as demo:
|
|
| 351 |
|
| 352 |
gr.Markdown("### π¦ Output Files")
|
| 353 |
with gr.Row(height=40):
|
| 354 |
-
with gr.Column():
|
| 355 |
#gr.Markdown(value=f"[π₯ Download .ply](file/point_cloud_final.ply)")
|
| 356 |
-
download_cameras_button = gr.Button("π₯ Download Cameras.json")
|
| 357 |
-
download_cameras_file = gr.File(label="π Cameras.json")
|
| 358 |
with gr.Column():
|
| 359 |
download_model_button = gr.Button("π₯ Download Pretrained Model (.ply)")
|
| 360 |
download_model_file = gr.File(label="π Pretrained Model (.ply)")
|
|
@@ -384,7 +384,7 @@ with gr.Blocks() as demo:
|
|
| 384 |
#render_all_views_button.click(fn=render_all_views, inputs=[scene_dir_state], outputs=[rendered_video_output])
|
| 385 |
#render_circular_path_button.click(fn=render_circular_path, inputs=[scene_dir_state], outputs=[rendered_video_output])
|
| 386 |
|
| 387 |
-
download_cameras_button.click(fn=lambda: os.path.join(MODEL_PATH, "cameras.json"), inputs=[], outputs=[download_cameras_file])
|
| 388 |
download_model_button.click(fn=lambda: os.path.join(STATIC_FILE_SERVING_FOLDER, "point_cloud_final.ply"), inputs=[], outputs=[download_model_file])
|
| 389 |
|
| 390 |
|
|
|
|
| 351 |
|
| 352 |
gr.Markdown("### π¦ Output Files")
|
| 353 |
with gr.Row(height=40):
|
| 354 |
+
#with gr.Column():
|
| 355 |
#gr.Markdown(value=f"[π₯ Download .ply](file/point_cloud_final.ply)")
|
| 356 |
+
#download_cameras_button = gr.Button("π₯ Download Cameras.json")
|
| 357 |
+
#download_cameras_file = gr.File(label="π Cameras.json")
|
| 358 |
with gr.Column():
|
| 359 |
download_model_button = gr.Button("π₯ Download Pretrained Model (.ply)")
|
| 360 |
download_model_file = gr.File(label="π Pretrained Model (.ply)")
|
|
|
|
| 384 |
#render_all_views_button.click(fn=render_all_views, inputs=[scene_dir_state], outputs=[rendered_video_output])
|
| 385 |
#render_circular_path_button.click(fn=render_circular_path, inputs=[scene_dir_state], outputs=[rendered_video_output])
|
| 386 |
|
| 387 |
+
#download_cameras_button.click(fn=lambda: os.path.join(MODEL_PATH, "cameras.json"), inputs=[], outputs=[download_cameras_file])
|
| 388 |
download_model_button.click(fn=lambda: os.path.join(STATIC_FILE_SERVING_FOLDER, "point_cloud_final.ply"), inputs=[], outputs=[download_model_file])
|
| 389 |
|
| 390 |
|