Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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|>"
|