Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def generate_image(images, prompt, negative_prompt,instruct_query, scale, nfaa_n
|
|
| 51 |
faceid_all_embeds = []
|
| 52 |
first_iteration = True
|
| 53 |
image = images
|
| 54 |
-
|
| 55 |
total_negative_prompt = f"{negative_prompt} {nfaa_negative_prompt}"
|
| 56 |
print("Generating normal")
|
| 57 |
|
|
@@ -83,7 +83,8 @@ def generate_image(images, prompt, negative_prompt,instruct_query, scale, nfaa_n
|
|
| 83 |
num_inference_steps=30,
|
| 84 |
query=instruct_query
|
| 85 |
)
|
| 86 |
-
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
|
|
|
|
| 51 |
faceid_all_embeds = []
|
| 52 |
first_iteration = True
|
| 53 |
image = images
|
| 54 |
+
yield None
|
| 55 |
total_negative_prompt = f"{negative_prompt} {nfaa_negative_prompt}"
|
| 56 |
print("Generating normal")
|
| 57 |
|
|
|
|
| 83 |
num_inference_steps=30,
|
| 84 |
query=instruct_query
|
| 85 |
)
|
| 86 |
+
|
| 87 |
+
yield image
|
| 88 |
|
| 89 |
|
| 90 |
|