Spaces:
Runtime error
Runtime error
Upload app.py with huggingface_hub
Browse files
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'))
|