Spaces:
Running
Running
Update components/caption_chain.py
Browse files
components/caption_chain.py
CHANGED
@@ -2,7 +2,7 @@ from langchain import PromptTemplate
|
|
2 |
from langchain.chains import LLMChain
|
3 |
|
4 |
def chain(llm):
|
5 |
-
template = """Make 5 different advertisement captions
|
6 |
{product}
|
7 |
"""
|
8 |
|
|
|
2 |
from langchain.chains import LLMChain
|
3 |
|
4 |
def chain(llm):
|
5 |
+
template = """Make 5 different advertisement captions about this product.
|
6 |
{product}
|
7 |
"""
|
8 |
|