Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
11 |
"black-forest-labs/FLUX.1-dev",
|
12 |
torch_dtype=torch.bfloat16
|
13 |
).to(device)
|
14 |
-
pipe.load_lora_weights("MegaTronX/MetartLoRA", weight_name="MetartLoRA.safetensors")
|
15 |
|
16 |
@spaces.GPU(duration=75)
|
17 |
def generate_image(prompt, num_inference_steps=25, guidance_scale=7.5, seed=None):
|
|
|
11 |
"black-forest-labs/FLUX.1-dev",
|
12 |
torch_dtype=torch.bfloat16
|
13 |
).to(device)
|
14 |
+
pipe.load_lora_weights("MegaTronX/MetartLoRA", weight_name="MetartLoRA.safetensors")
|
15 |
|
16 |
@spaces.GPU(duration=75)
|
17 |
def generate_image(prompt, num_inference_steps=25, guidance_scale=7.5, seed=None):
|