Spaces:
Runtime error
Runtime error
Commit
·
defce2e
1
Parent(s):
767cc47
Update components/caption_chain.py
Browse files
components/caption_chain.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
from langchain import PromptTemplate
|
|
|
2 |
|
3 |
def chain(llm):
|
4 |
template = """Make 5 different advertisement captions about this product.
|
|
|
1 |
+
from langchain import PromptTemplate
|
2 |
+
from langchain.chains import LLMChain
|
3 |
|
4 |
def chain(llm):
|
5 |
template = """Make 5 different advertisement captions about this product.
|