Spaces:
Sleeping
Sleeping
commit
Browse files
app.py
CHANGED
@@ -630,9 +630,9 @@ def handle_generation(artist,song,genre,lyrics):
|
|
630 |
pos_lyrics = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", lyrics)).lower().strip()
|
631 |
pos_lyrics_sum = pos_lyrics if pos_lyrics == "" else summarize_text(pos_lyrics)
|
632 |
|
633 |
-
neg = f"Sexuality,
|
634 |
q = "\""
|
635 |
-
pos = f'
|
636 |
|
637 |
print(f"""
|
638 |
Positive: {pos}
|
|
|
630 |
pos_lyrics = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", lyrics)).lower().strip()
|
631 |
pos_lyrics_sum = pos_lyrics if pos_lyrics == "" else summarize_text(pos_lyrics)
|
632 |
|
633 |
+
neg = f"Sexuality, Humanity, Textual, Labeled, Distorted, Discontinuous, Blurry, Doll-Like, Overly Plastic, Low-Quality, Painted, Smoothed, Artificial, Phony, Gaudy, Digital Effects."
|
634 |
q = "\""
|
635 |
+
pos = f'Hyperrealistic Photography, High-Quality Photography, Natural, made for the { pos_genre } song "{ pos_song }"{ pos_lyrics_sum if pos_lyrics_sum == "" else ": " + q + pos_lyrics_sum + q }.'
|
636 |
|
637 |
print(f"""
|
638 |
Positive: {pos}
|