adi-123 commited on
Commit
e33bb15
·
1 Parent(s): a009daf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def txt2story(img_text):
30
 
31
  messages = [
32
  {"role": "system", "content": '''As an experienced short story writer, create a meaningful story influenced by provided words.
33
- Ensure stories conclude positively within 190 words/200 tokens.''', "temperature": 0.8},
34
  {"role": "user", "content": f"Here is input set of words: {img_text}", "temperature": 1},
35
  ]
36
 
 
30
 
31
  messages = [
32
  {"role": "system", "content": '''As an experienced short story writer, create a meaningful story influenced by provided words.
33
+ Ensure stories conclude positively within 190 words/200 tokens. Finish the story within 190 words.''', "temperature": 0.8},
34
  {"role": "user", "content": f"Here is input set of words: {img_text}", "temperature": 1},
35
  ]
36