Nick088 commited on
Commit
5bd04c0
Β·
verified Β·
1 Parent(s): 725e83e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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
- os.system(f"python Scripts/to_3d_model.py '{filename}'")
 
 
 
 
 
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