Update app.py
Browse files
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...")
|