Spaces:
Running on Zero
Running on Zero
Commit ·
34898d2
1
Parent(s): e0a6e7c
online install mipgs
Browse files
app.py
CHANGED
|
@@ -326,6 +326,11 @@ def run_generation(
|
|
| 326 |
work_space: dict = None,
|
| 327 |
):
|
| 328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 329 |
if work_space is None:
|
| 330 |
raise gr.Error("Please run step 1 and step 2 first.")
|
| 331 |
required_keys = ["dir", "depth_mask", "depth", "K", "c2w", "trans", "scale"]
|
|
@@ -512,10 +517,6 @@ def run_generation(
|
|
| 512 |
|
| 513 |
any_update = False
|
| 514 |
finished_items = []
|
| 515 |
-
try:
|
| 516 |
-
import diff_gaussian_rasterization
|
| 517 |
-
except ModuleNotFoundError:
|
| 518 |
-
install_mipsplatting()
|
| 519 |
|
| 520 |
for item in pending_exports:
|
| 521 |
if item["future"].done():
|
|
|
|
| 326 |
work_space: dict = None,
|
| 327 |
):
|
| 328 |
|
| 329 |
+
try:
|
| 330 |
+
import diff_gaussian_rasterization
|
| 331 |
+
except ModuleNotFoundError:
|
| 332 |
+
install_mipsplatting()
|
| 333 |
+
|
| 334 |
if work_space is None:
|
| 335 |
raise gr.Error("Please run step 1 and step 2 first.")
|
| 336 |
required_keys = ["dir", "depth_mask", "depth", "K", "c2w", "trans", "scale"]
|
|
|
|
| 517 |
|
| 518 |
any_update = False
|
| 519 |
finished_items = []
|
|
|
|
|
|
|
|
|
|
|
|
|
| 520 |
|
| 521 |
for item in pending_exports:
|
| 522 |
if item["future"].done():
|