Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def generate(
|
|
43 |
) -> Iterator[str]:
|
44 |
messages = [{"role":"system","content": system_prompt}]
|
45 |
print(f'message: {message}')
|
46 |
-
print(f'
|
47 |
for user, assistant in chat_history:
|
48 |
messages.extend(
|
49 |
[
|
|
|
43 |
) -> Iterator[str]:
|
44 |
messages = [{"role":"system","content": system_prompt}]
|
45 |
print(f'message: {message}')
|
46 |
+
print(f'chat_history: {chat_history}')
|
47 |
for user, assistant in chat_history:
|
48 |
messages.extend(
|
49 |
[
|