xeonm commited on
Commit
fc7ab7d
1 Parent(s): bb3d0b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,10 +20,10 @@ def img2text(url):
20
  # make the story of it using LLM
21
  def generate_story(scenario):
22
  template = """
23
- あなたは物語の語り部です;
24
- 簡単な物語の背景に基づいて、30語以内の短い日本語の物語を生成することができます;
25
- 背景: {scenario}
26
- 物語:
27
  """
28
 
29
  prompt = PromptTemplate(template=template, input_variables=["scenario"])
 
20
  # make the story of it using LLM
21
  def generate_story(scenario):
22
  template = """
23
+ You are a story teller;
24
+ You can generate a short story based on a simple narrative, the story should be no more than 30 words;
25
+ CONTEXT: {scenario}
26
+ STORY;
27
  """
28
 
29
  prompt = PromptTemplate(template=template, input_variables=["scenario"])