Spaces:
Running
on
A10G
Running
on
A10G
rynmurdock
commited on
Commit
•
32bd2b2
1
Parent(s):
bb77dc1
more explore
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def next_image(embs, img_embs, ys, calibrate_prompts):
|
|
234 |
rng_prompt = random.choice(prompt_list)
|
235 |
w = 1.4# if len(embs) % 2 == 0 else 0
|
236 |
|
237 |
-
prompt= '' if glob_idx % 3 == 0 else rng_prompt
|
238 |
prompt, _ = generate(prompt, in_embs=im_s)
|
239 |
print(prompt)
|
240 |
im_emb = autoencoder.embed(prompt)
|
|
|
234 |
rng_prompt = random.choice(prompt_list)
|
235 |
w = 1.4# if len(embs) % 2 == 0 else 0
|
236 |
|
237 |
+
prompt= '' if not glob_idx % 3 == 0 else rng_prompt
|
238 |
prompt, _ = generate(prompt, in_embs=im_s)
|
239 |
print(prompt)
|
240 |
im_emb = autoencoder.embed(prompt)
|