CR7CAD commited on
Commit
1239100
·
verified ·
1 Parent(s): 23cf5e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def text2story(caption, _models):
49
  # Updated prompt includes explicit instructions to incorporate details from the caption
50
  prompt = (
51
  "<|system|>\n"
52
- "You are a creative story generating assistant that always incorporates key details from the provided image caption into your story.\n"
53
  "<|user|>\n"
54
  f"Please generate a short story within 100 words that clearly utilizes the following image caption and expands upon it thoroughly:\n\"{caption}\"\n"
55
  "<|assistant|>"
 
49
  # Updated prompt includes explicit instructions to incorporate details from the caption
50
  prompt = (
51
  "<|system|>\n"
52
+ "You are a creative story generating assistant that only gives me a story based on image caption given, no reply needed.\n"
53
  "<|user|>\n"
54
  f"Please generate a short story within 100 words that clearly utilizes the following image caption and expands upon it thoroughly:\n\"{caption}\"\n"
55
  "<|assistant|>"