Yaron Koresh commited on
Commit
c0ebad0
·
verified ·
1 Parent(s): d8a117b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, Labeled, 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
 
 
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