Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ def generate(
|
|
| 100 |
).images
|
| 101 |
paths = save_images(result, profile, metadata={"prompt": prompt, "seed": seed, "width": width, "height": height, "guidance_scale": guidance_scale, "num_inference_steps": num_inference_steps})
|
| 102 |
print(time.time() - start_time)
|
| 103 |
-
return paths, seed,
|
| 104 |
|
| 105 |
examples = [
|
| 106 |
"portrait photo of a girl, photograph, highly detailed face, depth of field, moody light, golden hour, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography",
|
|
|
|
| 100 |
).images
|
| 101 |
paths = save_images(result, profile, metadata={"prompt": prompt, "seed": seed, "width": width, "height": height, "guidance_scale": guidance_scale, "num_inference_steps": num_inference_steps})
|
| 102 |
print(time.time() - start_time)
|
| 103 |
+
return paths, seed, url
|
| 104 |
|
| 105 |
examples = [
|
| 106 |
"portrait photo of a girl, photograph, highly detailed face, depth of field, moody light, golden hour, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography",
|