Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Copyright (C) 2023, Computer Vision Lab, Seoul National University, https://cv.snu.ac.kr
|
2 |
#
|
3 |
# Copyright 2023 LucidDreamer Authors
|
@@ -38,6 +50,12 @@ d = os.path.join(ckpt_root, 'Realistic Vision V5.1')
|
|
38 |
if not os.path.exists(d):
|
39 |
snapshot_download(repo_id="ironjr/RealisticVisionV5-1", repo_type="model", local_dir=d)
|
40 |
d = os.path.join(ckpt_root, 'SD1-5')
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
if not os.path.exists(d):
|
42 |
snapshot_download(repo_id="runwayml/stable-diffusion-inpainting", repo_type="model", local_dir=d)
|
43 |
|
|
|
1 |
+
'''
|
2 |
+
conda create -n py39 python=3.9 && conda activate py39
|
3 |
+
pip install ipykernel
|
4 |
+
python -m ipykernel install --user --name py39 --display-name "py39"
|
5 |
+
|
6 |
+
git clone https://huggingface.co/spaces/svjack/LucidDreamer && cd LucidDreamer
|
7 |
+
pip install -r requirements.txt
|
8 |
+
pip install numpy==1.26.0
|
9 |
+
|
10 |
+
python app.py
|
11 |
+
'''
|
12 |
+
|
13 |
# Copyright (C) 2023, Computer Vision Lab, Seoul National University, https://cv.snu.ac.kr
|
14 |
#
|
15 |
# Copyright 2023 LucidDreamer Authors
|
|
|
50 |
if not os.path.exists(d):
|
51 |
snapshot_download(repo_id="ironjr/RealisticVisionV5-1", repo_type="model", local_dir=d)
|
52 |
d = os.path.join(ckpt_root, 'SD1-5')
|
53 |
+
|
54 |
+
#print(d)
|
55 |
+
#"stable-diffusion-v1-5/stable-diffusion-inpainting"
|
56 |
+
#if not os.path.exists(d):
|
57 |
+
# snapshot_download(repo_id="stable-diffusion-v1-5/stable-diffusion-inpainting", repo_type="model", local_dir=d)
|
58 |
+
|
59 |
if not os.path.exists(d):
|
60 |
snapshot_download(repo_id="runwayml/stable-diffusion-inpainting", repo_type="model", local_dir=d)
|
61 |
|