Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
from diffusers import KandinskyPriorPipeline, KandinskyPipeline
|
4 |
from diffusers.utils import load_image
|
5 |
import torch
|
6 |
-
|
7 |
|
8 |
pipe_prior = KandinskyPriorPipeline.from_pretrained(
|
9 |
"kandinsky-community/kandinsky-2-1-prior", torch_dtype=torch.float16
|
|
|
3 |
from diffusers import KandinskyPriorPipeline, KandinskyPipeline
|
4 |
from diffusers.utils import load_image
|
5 |
import torch
|
6 |
+
from PIL import Image
|
7 |
|
8 |
pipe_prior = KandinskyPriorPipeline.from_pretrained(
|
9 |
"kandinsky-community/kandinsky-2-1-prior", torch_dtype=torch.float16
|