Spaces:
Sleeping
Sleeping
commit
Browse files
app.py
CHANGED
@@ -631,7 +631,7 @@ def handle_generate(artist,song,genre,lyrics):
|
|
631 |
pos_genre = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", genre)).upper().strip()
|
632 |
pos_lyrics = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", lyrics)).lower().strip()
|
633 |
pos_lyrics_sum = pos_lyrics if pos_lyrics == "" else summarize_text(pos_lyrics)
|
634 |
-
neg = f"Textual Labeled Distorted Discontinuous Ugly Blurry Low-Quality Worst-Quality Low-Resolution Painted Pastel Vivid
|
635 |
q = "\""
|
636 |
pos = f'Rough Realistic Natural Genuine Reasonable Highly-Detailed { pos_genre } { pos_song }{ pos_lyrics_sum if pos_lyrics_sum == "" else " " + q + pos_lyrics_sum + q }'
|
637 |
|
|
|
631 |
pos_genre = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", genre)).upper().strip()
|
632 |
pos_lyrics = re.sub(f'[{punctuation}]', '', re.sub("([ \t\n]){1,}", " ", lyrics)).lower().strip()
|
633 |
pos_lyrics_sum = pos_lyrics if pos_lyrics == "" else summarize_text(pos_lyrics)
|
634 |
+
neg = f"Textual Labeled Distorted Discontinuous Ugly Blurry Low-Quality Worst-Quality Low-Resolution Painted Pastel Vivid Smooth"
|
635 |
q = "\""
|
636 |
pos = f'Rough Realistic Natural Genuine Reasonable Highly-Detailed { pos_genre } { pos_song }{ pos_lyrics_sum if pos_lyrics_sum == "" else " " + q + pos_lyrics_sum + q }'
|
637 |
|