aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-08 02:13:29 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-08 02:13:29 -0600
commit3b6aff6a006b11db589657923d2d841fa3150fdd (patch)
treeefe56668a06745c1fbf45a439f8b2b2a0092b44b
parent4d2a0981a58f4c150972b7aca1c62d00f337405e (diff)
remove default answer
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 7d58f9f..dae6144 100644
--- a/app.py
+++ b/app.py
@@ -59,7 +59,7 @@ def search():
current_task[-1]["icon"] = "check"
tasks = ["Have you tried turning your car on and off?"]
try:
- tasks += pred.split('\n\n')[0].replace("- ","").splitlines()
+ tasks = pred.split('\n\n')[0].replace("- ","").splitlines()
except:
print("Uh oh! Claude didn't return any results!")
return render_template("tasks.html", to_do=tasks)