Update app.py
Browse files
app.py
CHANGED
@@ -211,8 +211,13 @@ class WeeboAssistant:
|
|
211 |
return output_path
|
212 |
|
213 |
def get_llm_response(self, chat_history):
|
214 |
-
prompt_lines = [
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
216 |
for user_msg, assistant_msg in chat_history:
|
217 |
if user_msg:
|
218 |
prompt_lines.append("User: " + user_msg)
|
|
|
211 |
return output_path
|
212 |
|
213 |
def get_llm_response(self, chat_history):
|
214 |
+
prompt_lines = [
|
215 |
+
self.SYSTEM_PROMPT.strip(),
|
216 |
+
"" # Empty string or add intended string content here
|
217 |
+
]
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
for user_msg, assistant_msg in chat_history:
|
222 |
if user_msg:
|
223 |
prompt_lines.append("User: " + user_msg)
|