Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import torch
|
|
3 |
from PIL import Image
|
4 |
from diffusers import AutoPipelineForText2Image, DDIMScheduler
|
5 |
import numpy as np
|
|
|
6 |
import spaces # Make sure to import spaces
|
7 |
|
8 |
# Initialize the pipeline
|
|
|
3 |
from PIL import Image
|
4 |
from diffusers import AutoPipelineForText2Image, DDIMScheduler
|
5 |
import numpy as np
|
6 |
+
from torchvision import transforms
|
7 |
import spaces # Make sure to import spaces
|
8 |
|
9 |
# Initialize the pipeline
|