ajinkyakolhe112
commited on
Update app.py
Browse files
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
|