MykolaL commited on
Commit
5ec54a2
·
verified ·
1 Parent(s): 63e04dc

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -14,9 +14,11 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')
14
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'refer')))
15
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'stable-diffusion')))
16
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'taming-transformers')))
17
- print('!!!',os.listdir('.'))
 
 
 
18
  os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')))
19
- print('!!!',os.listdir('.'))
20
  # Device
21
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
22
 
 
14
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'refer')))
15
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'stable-diffusion')))
16
  sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'taming-transformers')))
17
+
18
+ import taming
19
+ print('!!!',taming.__file__)
20
+
21
  os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')))
 
22
  # Device
23
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
24