nimatov commited on
Commit
947e165
·
verified ·
1 Parent(s): fdd26e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def load_beat_model():
26
  @st.cache_resource
27
  def load_image_model():
28
  pipeline = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5",torch_dtype=torch.float16).to("cuda")
29
- pipeline.load_lora_weights("Weights/pytorch_lora_weights.safetensors", weight_name="pytorch_lora_weights.safetensors")
30
  return pipeline
31
 
32
 
 
26
  @st.cache_resource
27
  def load_image_model():
28
  pipeline = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5",torch_dtype=torch.float16).to("cuda")
29
+ # pipeline.load_lora_weights("Weights/pytorch_lora_weights.safetensors", weight_name="pytorch_lora_weights.safetensors")
30
  return pipeline
31
 
32