Spaces:
Build error
Build error
neverix
commited on
Commit
•
fb6e634
1
Parent(s):
02bc7b0
Fix bug permanently
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def generate(*args):
|
|
25 |
p.stdin.close()
|
26 |
p.wait()
|
27 |
model_path = f"{filename}.ply"
|
28 |
-
|
29 |
# model_path = None # TODO
|
30 |
return [video_path, model_path]
|
31 |
|
@@ -71,8 +71,7 @@ def main():
|
|
71 |
|
72 |
gr.Markdown("## Examples")
|
73 |
gr.Examples(fn=generate, inputs=inputs, outputs=[video, model],
|
74 |
-
examples=[defaults],
|
75 |
-
)
|
76 |
return ui
|
77 |
|
78 |
ui = main()
|
|
|
25 |
p.stdin.close()
|
26 |
p.wait()
|
27 |
model_path = f"{filename}.ply"
|
28 |
+
pc.save_ply(model_path)
|
29 |
# model_path = None # TODO
|
30 |
return [video_path, model_path]
|
31 |
|
|
|
71 |
|
72 |
gr.Markdown("## Examples")
|
73 |
gr.Examples(fn=generate, inputs=inputs, outputs=[video, model],
|
74 |
+
examples=[defaults], cache_examples=True, examples_per_page=1)
|
|
|
75 |
return ui
|
76 |
|
77 |
ui = main()
|