Spaces:
Running
on
Zero
Running
on
Zero
Stanislaw Szymanowicz
commited on
Commit
•
56cf08e
1
Parent(s):
bfc135c
No video showing
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def main():
|
|
116 |
# export reconstruction to ply
|
117 |
export_to_obj(reconstruction_unactivated, ply_out_path.name)
|
118 |
|
119 |
-
return
|
120 |
|
121 |
with gr.Blocks() as demo:
|
122 |
gr.Markdown(
|
@@ -158,7 +158,7 @@ def main():
|
|
158 |
with gr.Row():
|
159 |
with gr.Tab("Reconstruction"):
|
160 |
with gr.Column():
|
161 |
-
output_video = gr.Video(value=None, width=512, label="Rendered Video", autoplay=True)
|
162 |
output_model = gr.Model3D(
|
163 |
height=512,
|
164 |
label="Output Model",
|
@@ -172,7 +172,7 @@ def main():
|
|
172 |
).success(
|
173 |
fn=reconstruct_and_export,
|
174 |
inputs=[processed_image],
|
175 |
-
outputs=[
|
176 |
)
|
177 |
|
178 |
demo.queue(max_size=1)
|
|
|
116 |
# export reconstruction to ply
|
117 |
export_to_obj(reconstruction_unactivated, ply_out_path.name)
|
118 |
|
119 |
+
return ply_out_path.name
|
120 |
|
121 |
with gr.Blocks() as demo:
|
122 |
gr.Markdown(
|
|
|
158 |
with gr.Row():
|
159 |
with gr.Tab("Reconstruction"):
|
160 |
with gr.Column():
|
161 |
+
# output_video = gr.Video(value=None, width=512, label="Rendered Video", autoplay=True)
|
162 |
output_model = gr.Model3D(
|
163 |
height=512,
|
164 |
label="Output Model",
|
|
|
172 |
).success(
|
173 |
fn=reconstruct_and_export,
|
174 |
inputs=[processed_image],
|
175 |
+
outputs=[output_model],
|
176 |
)
|
177 |
|
178 |
demo.queue(max_size=1)
|