Spaces:
Running
on
Zero
Running
on
Zero
add `load_image` import
Browse filesIntroduce `load_image` module to enable loading of user images
app.py
CHANGED
@@ -6,6 +6,7 @@ import random
|
|
6 |
import logging
|
7 |
import numpy as np
|
8 |
from typing import Any, Dict, List, Optional, Union
|
|
|
9 |
|
10 |
import torch
|
11 |
from PIL import Image
|
|
|
6 |
import logging
|
7 |
import numpy as np
|
8 |
from typing import Any, Dict, List, Optional, Union
|
9 |
+
from diffusers.utils import load_image
|
10 |
|
11 |
import torch
|
12 |
from PIL import Image
|