Spaces:
Runtime error
Runtime error
Commit ·
5c61552
1
Parent(s): b43fcf5
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ repo = git.Repo.clone_from(url='https://huggingface.co/Liyulingyue/Neolle_Face_G
|
|
| 10 |
model_path = "dream_outputs"
|
| 11 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
| 12 |
|
| 13 |
-
def generate_images(prompt
|
| 14 |
# num_inference_steps to number
|
| 15 |
try:
|
| 16 |
infer_steps = int(num_inference_steps)
|
|
|
|
| 10 |
model_path = "dream_outputs"
|
| 11 |
pipe = StableDiffusionPipeline.from_pretrained(model_path)
|
| 12 |
|
| 13 |
+
def generate_images(prompt, num_inference_steps, guidance_scale):
|
| 14 |
# num_inference_steps to number
|
| 15 |
try:
|
| 16 |
infer_steps = int(num_inference_steps)
|