rphrp1985 commited on
Commit
7b502ac
·
verified ·
1 Parent(s): f5ed729

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ def infer(
71
  if randomize_seed:
72
  seed = random.randint(0, MAX_SEED)
73
 
74
- width = min(width, MAX_IMAGE_SIZE // 2)
75
- height = min(height, MAX_IMAGE_SIZE // 2)
76
  height, width = adjust_dimensions(height, width)
77
 
78
  generator = torch.Generator().manual_seed(seed)
 
71
  if randomize_seed:
72
  seed = random.randint(0, MAX_SEED)
73
 
74
+ width = min(width, MAX_IMAGE_SIZE )
75
+ height = min(height, MAX_IMAGE_SIZE )
76
  height, width = adjust_dimensions(height, width)
77
 
78
  generator = torch.Generator().manual_seed(seed)