ajinkyakolhe112 commited on
Commit
18bbf11
·
verified ·
1 Parent(s): 42ede63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ dtype = torch.bfloat16
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
 
11
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to(device)
12
- pipe.load_lora_weights("ajinkyakolhe112/flux-mahabharat-lora", weight_name="my_first_flux_lora_v1.safetensors", adapter_name="mahabharat")
13
 
14
  MAX_SEED = np.iinfo(np.int32).max
15
  MAX_IMAGE_SIZE = 2048
 
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
10
 
11
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to(device)
12
+ # pipe.load_lora_weights("ajinkyakolhe112/flux-mahabharat-lora", weight_name="my_first_flux_lora_v1.safetensors", adapter_name="mahabharat")
13
 
14
  MAX_SEED = np.iinfo(np.int32).max
15
  MAX_IMAGE_SIZE = 2048