Spaces:
Runtime error
Runtime error
Commit
·
752b1fc
1
Parent(s):
32a3204
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ print(os.getcwd())
|
|
| 10 |
print(os.listdir('.'))
|
| 11 |
|
| 12 |
# 加载模型
|
| 13 |
-
model_path = "
|
| 14 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
| 15 |
|
| 16 |
def generate_images(prompt="Neolle", num_inference_steps=50, guidance_scale=7.5):
|
|
|
|
| 10 |
print(os.listdir('.'))
|
| 11 |
|
| 12 |
# 加载模型
|
| 13 |
+
model_path = "/home/user/app/dream_outputs"
|
| 14 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
| 15 |
|
| 16 |
def generate_images(prompt="Neolle", num_inference_steps=50, guidance_scale=7.5):
|