Spaces:
Runtime error
Runtime error
Commit
·
caf264f
1
Parent(s):
3366c86
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,10 @@ os.system('pip install ppdiffusers>=0.14.0')
|
|
7 |
import gradio as gr
|
8 |
from ppdiffusers import StableDiffusionPipeline
|
9 |
import git
|
10 |
-
|
11 |
# 获取模型参数
|
12 |
repo = git.Repo.clone_from(url='https://huggingface.co/Liyulingyue/Neolle_Face_Generator', to_path="./dream_outputs")
|
13 |
-
|
14 |
# 加载模型
|
15 |
model_path = "dream_outputs"
|
16 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
|
|
7 |
import gradio as gr
|
8 |
from ppdiffusers import StableDiffusionPipeline
|
9 |
import git
|
10 |
+
print(os.listdir('.'))
|
11 |
# 获取模型参数
|
12 |
repo = git.Repo.clone_from(url='https://huggingface.co/Liyulingyue/Neolle_Face_Generator', to_path="./dream_outputs")
|
13 |
+
print(os.listdir('.'))
|
14 |
# 加载模型
|
15 |
model_path = "dream_outputs"
|
16 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|