Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
|
|
20 |
else:
|
21 |
sd_model = "minecraft-skins-sdxl"
|
22 |
|
23 |
-
command = f"python Python_Scripts/{sd_model}.py {prompt} {num_inference_steps} {guidance_scale} {num_images_per_prompt} {model_precision_type} {seed} {output_image_name} {'--verbose' if verbose else ''}"
|
24 |
|
25 |
os.system(command)
|
26 |
|
|
|
20 |
else:
|
21 |
sd_model = "minecraft-skins-sdxl"
|
22 |
|
23 |
+
command = f"python Python_Scripts/{sd_model}.py '{prompt}' {num_inference_steps} {guidance_scale} {num_images_per_prompt} {model_precision_type} {seed} {output_image_name} {'--verbose' if verbose else ''}"
|
24 |
|
25 |
os.system(command)
|
26 |
|