CiaraRowles commited on
Commit
f130269
·
verified ·
1 Parent(s): 06aa73b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- return image
 
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