Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1295,7 +1295,7 @@ def handle_generation(artist,song,genre,lyrics):
|
|
1295 |
pos_lyrics = pos_lyrics if pos_lyrics == "" else summarize(translate(pos_lyrics))
|
1296 |
pos_lyrics = re.sub(r"([ \t]){1,}", " ", pos_lyrics).lower().strip()
|
1297 |
|
1298 |
-
neg = f"Sexuality, Human body, Human, Textual,
|
1299 |
q = "\""
|
1300 |
pos = f'{ translate(pos_genre) } song hyper-realistic official image{ pos_lyrics if pos_lyrics == "" else ": " + q + pos_lyrics + q }.'
|
1301 |
|
|
|
1295 |
pos_lyrics = pos_lyrics if pos_lyrics == "" else summarize(translate(pos_lyrics))
|
1296 |
pos_lyrics = re.sub(r"([ \t]){1,}", " ", pos_lyrics).lower().strip()
|
1297 |
|
1298 |
+
neg = f"Sexuality, Human body, Human, Textual, Text, Distorted, Discontinuous, Blurry, Doll-Like, Overly Plastic, Low-Quality, Painted, Smooth, Artificial, Phony, Gaudy, Digital Effects."
|
1299 |
q = "\""
|
1300 |
pos = f'{ translate(pos_genre) } song hyper-realistic official image{ pos_lyrics if pos_lyrics == "" else ": " + q + pos_lyrics + q }.'
|
1301 |
|