Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
|
|
| 29 |
else:
|
| 30 |
sd_model = "minecraft-skins-sdxl"
|
| 31 |
|
| 32 |
-
inference_command = f"python
|
| 33 |
|
| 34 |
os.system(inference_command)
|
| 35 |
|
|
|
|
| 29 |
else:
|
| 30 |
sd_model = "minecraft-skins-sdxl"
|
| 31 |
|
| 32 |
+
inference_command = f"python Scripts/{sd_model}.py '{prompt}' {num_inference_steps} {guidance_scale} {model_precision_type} {seed} {output_image_name} {'--verbose' if verbose else ''}"
|
| 33 |
|
| 34 |
os.system(inference_command)
|
| 35 |
|