AnishaG0201 commited on
Commit
324f291
·
verified ·
1 Parent(s): 81f213b

Update function.py

Browse files
Files changed (1) hide show
  1. function.py +1 -1
function.py CHANGED
@@ -224,7 +224,7 @@ def what_if_told_you(topic,audience,key_benefits):
224
  Join The LIVE {topic} Workshop Tailored For {audience}!
225
  """
226
 
227
- prompt = prompt_template(template=prompt_template).format(key_benefits=key_benefits,topic=topic,audience=audience)
228
 
229
  # Generate the response using the LLM
230
  response = llm.invoke(prompt)
 
224
  Join The LIVE {topic} Workshop Tailored For {audience}!
225
  """
226
 
227
+ prompt = PromptTemplate(template=prompt_template).format(key_benefits=key_benefits,topic=topic,audience=audience)
228
 
229
  # Generate the response using the LLM
230
  response = llm.invoke(prompt)