TheStinger commited on
Commit
0824ec4
1 Parent(s): bac9621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,9 +6,9 @@ import spaces
6
  import random
7
  from basicsr.archs.rrdbnet_arch import RRDBNet
8
  from basicsr.utils.download_util import load_file_from_url
9
-
10
  from realesrgan import RealESRGANer
11
  from realesrgan.archs.srvgg_arch import SRVGGNetCompact
 
12
 
13
 
14
  last_file = None
 
6
  import random
7
  from basicsr.archs.rrdbnet_arch import RRDBNet
8
  from basicsr.utils.download_util import load_file_from_url
 
9
  from realesrgan import RealESRGANer
10
  from realesrgan.archs.srvgg_arch import SRVGGNetCompact
11
+ from torchvision.transforms.functional import rgb_to_grayscale
12
 
13
 
14
  last_file = None