yaron123 commited on
Commit
bdd1017
·
1 Parent(s): 6e96755
Files changed (1) hide show
  1. app.py +1 -1
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 Soft"
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