Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
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
|