Spaces:
Runtime error
Runtime error
Fixed prompt embeds conditioning for solo_xd
Browse files
app.py
CHANGED
@@ -60,7 +60,15 @@ def get_text_after_colon(input_text):
|
|
60 |
|
61 |
|
62 |
def solo_xd(prompt):
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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):
|