Kumarkishalaya commited on
Commit
ff82432
·
verified ·
1 Parent(s): 7b7ee39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -94,7 +94,8 @@ def generate_story(comments, temperature=0.7):
94
  ignore the comment which has lyrics of the song,
95
  ignore all comments similar to 'anyone in 2024', Keep the story randomly between 50-120 words.
96
  dont mention the emtion chosen just start the story.
97
- sometimes include bits where you tell how this song makes you feel. half the times end the story with a hopeful future or a dark end or humorous."""}]
 
98
  ,temperature=temperature)
99
  return completion.choices[0].message.content
100
 
 
94
  ignore the comment which has lyrics of the song,
95
  ignore all comments similar to 'anyone in 2024', Keep the story randomly between 50-120 words.
96
  dont mention the emtion chosen just start the story.
97
+ sometimes include bits where you tell how this song makes you feel. half the times end the story with a hopeful future or a dark end or humorous. dont print the comments
98
+ print only the story"""}]
99
  ,temperature=temperature)
100
  return completion.choices[0].message.content
101