Spaces:
Runtime error
Runtime error
Update function.py
Browse files- 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 =
|
| 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)
|