Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -480,11 +480,11 @@ def generate(
|
|
480 |
randomize_seed=True,
|
481 |
)
|
482 |
# Copy the GLB file to a static folder.
|
|
|
483 |
static_folder = os.path.join(os.getcwd(), "static")
|
484 |
if not os.path.exists(static_folder):
|
485 |
os.makedirs(static_folder)
|
486 |
new_filename = f"mesh_{uuid.uuid4()}.glb"
|
487 |
-
yield " > Processing 3D Mesh Generation ββββββββββ 95%"
|
488 |
new_filepath = os.path.join(static_folder, new_filename)
|
489 |
shutil.copy(glb_path, new_filepath)
|
490 |
|
|
|
480 |
randomize_seed=True,
|
481 |
)
|
482 |
# Copy the GLB file to a static folder.
|
483 |
+
yield " > Processing 3D Mesh Generation ββββββββββ 95%"
|
484 |
static_folder = os.path.join(os.getcwd(), "static")
|
485 |
if not os.path.exists(static_folder):
|
486 |
os.makedirs(static_folder)
|
487 |
new_filename = f"mesh_{uuid.uuid4()}.glb"
|
|
|
488 |
new_filepath = os.path.join(static_folder, new_filename)
|
489 |
shutil.copy(glb_path, new_filepath)
|
490 |
|