Spaces:
Running
on
T4
Running
on
T4
Krebzonide
commited on
Commit
·
8c445a0
1
Parent(s):
2f2382c
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def generate(prompt, samp_steps, seed, progress=gr.Progress(track_tqdm=True)):
|
|
25 |
generator=torch.manual_seed(seed),
|
26 |
output_type="latent"
|
27 |
).images[0]
|
28 |
-
upscaled_latent = F.interpolate(latent,
|
29 |
final_image = img2img(
|
30 |
prompt,
|
31 |
upscaled_latent,
|
|
|
25 |
generator=torch.manual_seed(seed),
|
26 |
output_type="latent"
|
27 |
).images[0]
|
28 |
+
upscaled_latent = F.interpolate(latent, (128,128))
|
29 |
final_image = img2img(
|
30 |
prompt,
|
31 |
upscaled_latent,
|