Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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
|