alfredplpl
commited on
Commit
·
32bc0ab
1
Parent(s):
0813521
Update app.py
Browse files
app.py
CHANGED
@@ -154,8 +154,8 @@ def txt_to_img(prompt, neg_prompt, guidance, steps, width, height, generator,sup
|
|
154 |
prompt=prompt,
|
155 |
negative_prompt = neg_prompt,
|
156 |
image=low_res_latents,
|
157 |
-
num_inference_steps=
|
158 |
-
guidance_scale=
|
159 |
generator=generator,
|
160 |
)
|
161 |
pipe=pipe.to("cuda")
|
@@ -193,8 +193,8 @@ def img_to_img(prompt, neg_prompt, img, strength, guidance, steps, width, height
|
|
193 |
prompt=prompt,
|
194 |
negative_prompt = neg_prompt,
|
195 |
image=low_res_latents,
|
196 |
-
num_inference_steps=
|
197 |
-
guidance_scale=
|
198 |
generator=generator,
|
199 |
)
|
200 |
pipe=pipe.to("cuda")
|
|
|
154 |
prompt=prompt,
|
155 |
negative_prompt = neg_prompt,
|
156 |
image=low_res_latents,
|
157 |
+
num_inference_steps=10,
|
158 |
+
guidance_scale=0,
|
159 |
generator=generator,
|
160 |
)
|
161 |
pipe=pipe.to("cuda")
|
|
|
193 |
prompt=prompt,
|
194 |
negative_prompt = neg_prompt,
|
195 |
image=low_res_latents,
|
196 |
+
num_inference_steps=10,
|
197 |
+
guidance_scale=0,
|
198 |
generator=generator,
|
199 |
)
|
200 |
pipe=pipe.to("cuda")
|