Manjushri commited on
Commit
0389115
1 Parent(s): 573943b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -29,6 +29,8 @@ def genie (Model, Prompt, negative_prompt, height, width, scale, steps, seed, up
29
  return image
30
  else:
31
  image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]
 
 
32
  if Model == "Anime":
33
  if upscale == "Yes":
34
  int_image = anime(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images
 
29
  return image
30
  else:
31
  image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]
32
+ return image
33
+
34
  if Model == "Anime":
35
  if upscale == "Yes":
36
  int_image = anime(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images