Krebzonide commited on
Commit
8c445a0
·
1 Parent(s): 2f2382c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, size=128)
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,