DonImages commited on
Commit
fa0a16f
·
verified ·
1 Parent(s): ee8ab11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ pipeline = StableDiffusion3Pipeline.from_pretrained(
24
  ).to(device)
25
 
26
  # Load the LoRA trained weights once at the start
27
- lora_path = "lora_trained_model.safetensors" # Ensure this file is uploaded in the Space
28
  if os.path.exists(lora_path):
29
  try:
30
  pipeline.load_lora_weights(lora_path) # Use the correct method for loading LoRA weights
 
24
  ).to(device)
25
 
26
  # Load the LoRA trained weights once at the start
27
+ lora_path = "lora_trained_model.pt" # Ensure this file is uploaded in the Space
28
  if os.path.exists(lora_path):
29
  try:
30
  pipeline.load_lora_weights(lora_path) # Use the correct method for loading LoRA weights