Spaces:
Running
Running
added transform import
Browse files
frontend/webui/text_to_image_ui.py
CHANGED
@@ -14,6 +14,7 @@ from scipy.ndimage import zoom
|
|
14 |
import numpy as np
|
15 |
from PIL import Image
|
16 |
from super_image import CarnModel,ImageLoader
|
|
|
17 |
|
18 |
random_enabled = True
|
19 |
|
|
|
14 |
import numpy as np
|
15 |
from PIL import Image
|
16 |
from super_image import CarnModel,ImageLoader
|
17 |
+
import torchvision.transforms as T
|
18 |
|
19 |
random_enabled = True
|
20 |
|