educrpg commited on
Commit
70542b5
Β·
verified Β·
1 Parent(s): 1acae0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
11
 
12
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(device)
13
 
14
- MAX_SEED = np.iinfo(np.int32).max
15
  MAX_IMAGE_SIZE = 2048
16
 
17
  @spaces.GPU(duration=190)
 
11
 
12
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(device)
13
 
14
+ MAX_SEED = np.info(np.int32).max
15
  MAX_IMAGE_SIZE = 2048
16
 
17
  @spaces.GPU(duration=190)