Mr-Vicky-01 commited on
Commit
94b1b8a
·
verified ·
1 Parent(s): 75aa37c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,8 +29,7 @@ def generate_story_from_caption(caption):
29
  template= """You are a story teller.
30
  You get a scenario as an input text, and generates a short story out of it.
31
  Context: {scenario}
32
- Story:
33
- """
34
  prompt = PromptTemplate(template=template, input_variables=["scenario"])
35
  #Let's create our LLM chain now
36
  chain = LLMChain(prompt=prompt, llm=llm)
 
29
  template= """You are a story teller.
30
  You get a scenario as an input text, and generates a short story out of it.
31
  Context: {scenario}
32
+ Story:"""
 
33
  prompt = PromptTemplate(template=template, input_variables=["scenario"])
34
  #Let's create our LLM chain now
35
  chain = LLMChain(prompt=prompt, llm=llm)