From 77393fa260288e4d94bdb11e7f25f0064e5673ef Mon Sep 17 00:00:00 2001 From: Javier Luraschi Date: Tue, 10 Dec 2024 15:39:41 -0800 Subject: [PATCH] [apps/hal9] fix minor spelling typos --- apps/hal9/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/hal9/app.py b/apps/hal9/app.py index 34754d71..c3d926bf 100644 --- a/apps/hal9/app.py +++ b/apps/hal9/app.py @@ -24,12 +24,12 @@ file_extension = filename.split(".")[-1] if "." in filename else "No extension" download_file(user_input) messages = insert_message(messages, "system", f"Consider using the file available at path: './.storage/.{filename}' for the following questions.") - messages = insert_message(messages, "assistant", f"Im ready to response questions about your file: {filename}") + messages = insert_message(messages, "assistant", f"I'm ready to answer questions about your file: {filename}") if file_extension.lower() == "pdf": generate_text_embeddings_parquet(user_input) if file_extension.lower() in ['jpg', 'jpeg', 'png','webp']: add_images_descriptions(f"./.storage/.{filename}") - print(f"Im ready to response questions about your file: {filename}") + print(f"I'm ready to answer questions about your file: {filename}") else: user_input = user_input.replace("\f", "\n") messages = insert_message(messages, "user", user_input)