shichen1231 commited on
Commit
a10a711
Β·
1 Parent(s): 892985e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ def infer(
36
  w = conditioning_image.width
37
  h = conditioning_image.height
38
  ratio = 768 / max(w, h)
39
- w = int(W * ratio)
40
- h = int(H * ratio)
41
  g_cpu = torch.Generator()
42
 
43
  if seed == -1:
 
36
  w = conditioning_image.width
37
  h = conditioning_image.height
38
  ratio = 768 / max(w, h)
39
+ w = int(w * ratio)
40
+ h = int(h * ratio)
41
  g_cpu = torch.Generator()
42
 
43
  if seed == -1: