Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -137,7 +137,7 @@ def marketing_rec():
|
|
| 137 |
|
| 138 |
transactions_df = pd.DataFrame(transactions_list)
|
| 139 |
# Set up a prompt template
|
| 140 |
-
prompt = PromptTemplate.from_template('You are a business analyst.In the fewest words possible, write some very brief marketing tips suitable for a small business with this transactions data {data_frame}')
|
| 141 |
|
| 142 |
# Create a chain that utilizes both the LLM and the prompt template
|
| 143 |
chain = LLMChain(llm=llm2, prompt=prompt, verbose=True)
|
|
|
|
| 137 |
|
| 138 |
transactions_df = pd.DataFrame(transactions_list)
|
| 139 |
# Set up a prompt template
|
| 140 |
+
prompt = PromptTemplate.from_template('You are a business analyst.In the fewest words possible, write a brief analysis and some very brief marketing tips suitable for a small business with this transactions data {data_frame}')
|
| 141 |
|
| 142 |
# Create a chain that utilizes both the LLM and the prompt template
|
| 143 |
chain = LLMChain(llm=llm2, prompt=prompt, verbose=True)
|