gpaasch commited on
Commit
f45a203
·
1 Parent(s): 4549d3e

agent is most thoughtful when written like this

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -83,6 +83,4 @@ if st.button("Generate Cleaning Plan"):
83
  prompt_templates=prompt_templates
84
  )
85
 
86
- prompt = f"Generate a cleaning plan based on this text:\n{st.session_state.tasks}\nTime available: {amount_of_time_to_clean} minutes"
87
- agent.run(prompt)
88
- st.session_state.cleaning_plan.append(agent.final_output)
 
83
  prompt_templates=prompt_templates
84
  )
85
 
86
+ agent.run(f"Generate a cleaning plan based on this text:\n{st.session_state.tasks}\nTime available: {amount_of_time_to_clean} minutes")