From 3b6aff6a006b11db589657923d2d841fa3150fdd Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 8 Oct 2023 02:13:29 -0600 Subject: remove default answer --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.py') 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) -- cgit v1.2.3