Nick088 commited on
Commit
f864746
β€’
1 Parent(s): c49e3c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -22,7 +22,9 @@ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_
22
 
23
  command = f"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
- subprocess.run(["python", command], check=True)
 
 
26
 
27
  return os.path.join(f"output_minecraft_skins/{output_image_name}")
28
 
 
22
 
23
  command = f"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
+ test= subprocess.run(["python", command], check=True, capture_output=True, text=True)
26
+
27
+ print(test)
28
 
29
  return os.path.join(f"output_minecraft_skins/{output_image_name}")
30