Gustaros commited on
Commit
c9a0ff5
·
verified ·
1 Parent(s): 1b7a99a

add `load_image` import

Browse files

Introduce `load_image` module to enable loading of user images

Files changed (1) hide show
  1. app.py +1 -0
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