Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,12 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
|
|
35 |
os.system(inference_command)
|
36 |
|
37 |
# view it in 3d
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
# Return the generated image and the processed model
|
|
|
35 |
os.system(inference_command)
|
36 |
|
37 |
# view it in 3d
|
38 |
+
|
39 |
+
os.chdir("Scripts")
|
40 |
+
|
41 |
+
command_3d_model = f"python to_3d_model.py '{filename}'"
|
42 |
+
|
43 |
+
os.system(command_3d_model)
|
44 |
|
45 |
|
46 |
# Return the generated image and the processed model
|