fffiloni commited on
Commit
8e7c9c8
1 Parent(s): d97c9a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def join_wav_files(input_files, output_file):
48
  def generate_story(text, lang):
49
  """Generate a story using the langchain library and OpenAI's GPT-3 model."""
50
  prompt = PromptTemplate(
51
- input_variables=["text"],
52
  template="""
53
  You are a fun and seasoned storyteller.
54
  Generate a short bedtime story for a 5 years old audience about {text}.
 
48
  def generate_story(text, lang):
49
  """Generate a story using the langchain library and OpenAI's GPT-3 model."""
50
  prompt = PromptTemplate(
51
+ input_variables=["text", "lang"],
52
  template="""
53
  You are a fun and seasoned storyteller.
54
  Generate a short bedtime story for a 5 years old audience about {text}.