Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,9 +42,10 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
|
|
| 42 |
|
| 43 |
os.system(command_3d_model)
|
| 44 |
|
|
|
|
| 45 |
|
| 46 |
# Return the generated image and the processed model
|
| 47 |
-
return os.path.join(f"
|
| 48 |
|
| 49 |
|
| 50 |
|
|
|
|
| 42 |
|
| 43 |
os.system(command_3d_model)
|
| 44 |
|
| 45 |
+
os.chdir("..")
|
| 46 |
|
| 47 |
# Return the generated image and the processed model
|
| 48 |
+
return os.path.join(f"output_minecraft_skins/{filename}"), os.path.join(f"output_minecraft_skins/{filename}_3d_model.glb")
|
| 49 |
|
| 50 |
|
| 51 |
|