AlekseyCalvin commited on
Commit
4ceb410
·
verified ·
1 Parent(s): e39cc2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ with open('loras.json', 'r') as f:
32
 
33
  # Initialize the base model with authentication and specify the device
34
  # Initialize the base model with authentication and specify the device
35
- pipe = DiffusionPipeline.from_pretrained("sayakpaul/FLUX.1-merged", torch_dtype=dtype, token=hf_token, trust_remote_code=True, device_map='balanced').to(device)
36
 
37
  MAX_SEED = np.iinfo(np.int32).max
38
  MAX_IMAGE_SIZE = 2048
 
32
 
33
  # Initialize the base model with authentication and specify the device
34
  # Initialize the base model with authentication and specify the device
35
+ pipe = DiffusionPipeline.from_pretrained("sayakpaul/FLUX.1-merged", torch_dtype=dtype, token=hf_token).to(device)
36
 
37
  MAX_SEED = np.iinfo(np.int32).max
38
  MAX_IMAGE_SIZE = 2048