Nick088 commited on
Commit
d24b718
Β·
verified Β·
1 Parent(s): 248fb01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,7 @@ else:
14
  subprocess.run(["git", "clone", "https://github.com/Nick088Official/Stable_Diffusion_Finetuned_Minecraft_Skin_Generator.git"])
15
  os.chdir("Stable_Diffusion_Finetuned_Minecraft_Skin_Generator")
16
 
17
- def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_scale, num_images_per_prompt, model_precision_type, output_image_name, verbose):
18
  if stable_diffusion_model == '2':
19
  sd_model = "minecraft-skins"
20
  else:
@@ -62,6 +62,7 @@ gr.Interface(
62
  guidance_scale_input,
63
  num_images_per_prompt_input,
64
  model_precision_type_input,
 
65
  output_image_name_input,
66
  verbose_input
67
  ],
 
14
  subprocess.run(["git", "clone", "https://github.com/Nick088Official/Stable_Diffusion_Finetuned_Minecraft_Skin_Generator.git"])
15
  os.chdir("Stable_Diffusion_Finetuned_Minecraft_Skin_Generator")
16
 
17
+ def run_inference(prompt, stable_diffusion_model, num_inference_steps, guidance_scale, num_images_per_prompt, model_precision_type, seed, output_image_name, verbose):
18
  if stable_diffusion_model == '2':
19
  sd_model = "minecraft-skins"
20
  else:
 
62
  guidance_scale_input,
63
  num_images_per_prompt_input,
64
  model_precision_type_input,
65
+ seed_input,
66
  output_image_name_input,
67
  verbose_input
68
  ],