DonImages commited on
Commit
bafa3e3
·
verified ·
1 Parent(s): 37c7828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import torch
2
- from diffusers import StableDiffusionPipeline
3
  from huggingface_hub import login
4
  import os
5
  import gradio as gr
@@ -13,7 +13,7 @@ else:
13
 
14
  # Load the Stable Diffusion 3.5 model
15
  model_id = "stabilityai/stable-diffusion-3.5-large"
16
- pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
17
  pipe.to("cuda")
18
 
19
  # Define the path to the LoRA model
 
1
  import torch
2
+ from diffusers import StableDiffusion3Pipeline
3
  from huggingface_hub import login
4
  import os
5
  import gradio as gr
 
13
 
14
  # Load the Stable Diffusion 3.5 model
15
  model_id = "stabilityai/stable-diffusion-3.5-large"
16
+ pipe = StableDiffusion3Pipeline.from_pretrained(model_id, torch_dtype=torch.float16)
17
  pipe.to("cuda")
18
 
19
  # Define the path to the LoRA model