fffiloni commited on
Commit
a169bce
โ€ข
1 Parent(s): 88a555b

Fixed prompt embeds conditioning for solo_xd

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -60,7 +60,15 @@ def get_text_after_colon(input_text):
60
 
61
 
62
  def solo_xd(prompt):
63
- images = pipe(prompt=prompt).images[0]
 
 
 
 
 
 
 
 
64
  return images
65
 
66
  def infer(audio_file, has_lyrics):
 
60
 
61
 
62
  def solo_xd(prompt):
63
+ # โ€”โ€”โ€”
64
+ print("""โ€”โ€”โ€”
65
+ Calling SD-XL for another image...
66
+ """)
67
+ prompt = prompt
68
+ conditioning, pooled = compel(prompt)
69
+ images = pipe(prompt_embeds=conditioning, pooled_prompt_embeds=pooled).images[0]
70
+
71
+ print("Finished")
72
  return images
73
 
74
  def infer(audio_file, has_lyrics):