Spaces:
Sleeping
Sleeping
syntax
Browse files
app.py
CHANGED
|
@@ -22,6 +22,7 @@ def generate_image(lora_scale, guidance_scale, prompt_strength, num_steps, promp
|
|
| 22 |
}
|
| 23 |
)
|
| 24 |
prediction.wait()
|
|
|
|
| 25 |
image_url = output[0] if output else None
|
| 26 |
return image_url
|
| 27 |
|
|
|
|
| 22 |
}
|
| 23 |
)
|
| 24 |
prediction.wait()
|
| 25 |
+
output = prediction.output
|
| 26 |
image_url = output[0] if output else None
|
| 27 |
return image_url
|
| 28 |
|