GV05 commited on
Commit
233267c
1 Parent(s): d0269fd

tale to much time on cpu so decrease to 1 image

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -35,7 +35,8 @@ def mingle_prompts(first_prompt, second_prompt):
35
 
36
  rand_generator = random.randint(1, 2048)
37
  # Mix them together
38
- mix_factors = [0.1, 0.3, 0.5, 0.7, 0.9]
 
39
  for mix_factor in mix_factors:
40
  mixed_embeddings = (text_embeddings1 * mix_factor + text_embeddings2 * (1 - mix_factor))
41
 
 
35
 
36
  rand_generator = random.randint(1, 2048)
37
  # Mix them together
38
+ # mix_factors = [0.1, 0.3, 0.5, 0.7, 0.9]
39
+ mix_factors = [0.5]
40
  for mix_factor in mix_factors:
41
  mixed_embeddings = (text_embeddings1 * mix_factor + text_embeddings2 * (1 - mix_factor))
42