adi-123 commited on
Commit
42b428c
·
1 Parent(s): bb4a9c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def txt2story(img_text):
29
  )
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 100 words. Remember the story must end within 100 words''', "temperature": 1.8},
34
  {"role": "user", "content": f"Here is input set of words: {img_text}", "temperature": 1.5},
35
  ]
 
29
  )
30
 
31
  messages = [
32
+ {"role": "system", "content": '''As an experienced short story writer, write story title and then create a meaningful story influenced by provided words.
33
  Ensure stories conclude positively within 100 words. Remember the story must end within 100 words''', "temperature": 1.8},
34
  {"role": "user", "content": f"Here is input set of words: {img_text}", "temperature": 1.5},
35
  ]