ironjr commited on
Commit
a1687cd
1 Parent(s): 28c2f79

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ d = os.path.join(ckpt_root, 'SD1-5')
39
  if not os.path.exists(d):
40
  snapshot_download(repo_id="runwayml/stable-diffusion-inpainting", repo_type="model", local_dir=d)
41
 
42
- try
43
  import simple_knn
44
  except ModuleNotFoundError:
45
  subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'simple-knn'))
 
39
  if not os.path.exists(d):
40
  snapshot_download(repo_id="runwayml/stable-diffusion-inpainting", repo_type="model", local_dir=d)
41
 
42
+ try:
43
  import simple_knn
44
  except ModuleNotFoundError:
45
  subprocess.run(shlex.split('python setup.py install'), cwd=os.path.join(root, 'submodules', 'simple-knn'))