Spaces:
Sleeping
Sleeping
agent is most thoughtful when written like this
Browse files
app.py
CHANGED
@@ -83,6 +83,4 @@ if st.button("Generate Cleaning Plan"):
|
|
83 |
prompt_templates=prompt_templates
|
84 |
)
|
85 |
|
86 |
-
|
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")
|
|
|
|