Kvikontent commited on
Commit
a4f9886
Β·
verified Β·
1 Parent(s): 54816c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from diffusers import AutoPipelineForText2Image
4
 
5
  # Load the model
6
- pipe = AutoPipelineForText2Image.from_pretrained("kandinsky-community/kandinsky-2-1", variant="fp16", torch_dtype=torch.float16)
7
  pipe.enable_model_cpu_offload()
8
 
9
  # Define the input and output functions
 
3
  from diffusers import AutoPipelineForText2Image
4
 
5
  # Load the model
6
+ pipe = AutoPipelineForText2Image.from_pretrained("kandinsky-community/kandinsky-2-1")
7
  pipe.enable_model_cpu_offload()
8
 
9
  # Define the input and output functions