Spaces:
Runtime error
Runtime error
Commit
·
d61a9a1
1
Parent(s):
448cbb4
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,9 @@ import git
|
|
| 6 |
# 获取模型参数
|
| 7 |
repo = git.Repo.clone_from(url='https://huggingface.co/Liyulingyue/Neolle_Face_Generator', to_path="./dream_outputs")
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
# 加载模型
|
| 10 |
model_path = "dream_outputs"
|
| 11 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
|
|
|
| 6 |
# 获取模型参数
|
| 7 |
repo = git.Repo.clone_from(url='https://huggingface.co/Liyulingyue/Neolle_Face_Generator', to_path="./dream_outputs")
|
| 8 |
|
| 9 |
+
print(os.getcwd())
|
| 10 |
+
print(os.listdir('.'))
|
| 11 |
+
|
| 12 |
# 加载模型
|
| 13 |
model_path = "dream_outputs"
|
| 14 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|