Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def diffusing(prompt,
|
|
117 |
Generates an image using Stable Diffusion based on the input prompt.
|
118 |
"""
|
119 |
|
120 |
-
|
121 |
prompt=prompt,
|
122 |
num_inference_steps=40,
|
123 |
denoising_end=0.8,
|
@@ -127,7 +127,7 @@ def diffusing(prompt,
|
|
127 |
prompt=prompt,
|
128 |
num_inference_steps=40,
|
129 |
denoising_start=0.8,
|
130 |
-
image=
|
131 |
).images[0]
|
132 |
print(f"\n\nImage has been diffused:\n {image}\n\n")
|
133 |
return image
|
|
|
117 |
Generates an image using Stable Diffusion based on the input prompt.
|
118 |
"""
|
119 |
|
120 |
+
image_base = base(
|
121 |
prompt=prompt,
|
122 |
num_inference_steps=40,
|
123 |
denoising_end=0.8,
|
|
|
127 |
prompt=prompt,
|
128 |
num_inference_steps=40,
|
129 |
denoising_start=0.8,
|
130 |
+
image=image_base
|
131 |
).images[0]
|
132 |
print(f"\n\nImage has been diffused:\n {image}\n\n")
|
133 |
return image
|