adi-123 commited on
Commit
7b3510a
·
1 Parent(s): 19218d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def txt2story(img_text):
32
  {"role": "system", "content": '''You are an expert short story writer who specialises
33
  in writing stories on input set of words.Ensure the story MUST
34
  have a definitive ending.''', "temperature": 0.8},
35
- {"role": "user", "content": "Here is input set of words: {img_text}", "temperature": 1},
36
  ]
37
 
38
  print("Generating story completion using the AI model...")
 
32
  {"role": "system", "content": '''You are an expert short story writer who specialises
33
  in writing stories on input set of words.Ensure the story MUST
34
  have a definitive ending.''', "temperature": 0.8},
35
+ {"role": "user", "content": f"Here is input set of words: {img_text}", "temperature": 1},
36
  ]
37
 
38
  print("Generating story completion using the AI model...")