Spaces:
Runtime error
Runtime error
leonardlin
commited on
Commit
•
c48336f
1
Parent(s):
e314ae3
print message
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ def chat(message, history, system_prompt):
|
|
44 |
print('---')
|
45 |
print('Prompt:', system_prompt)
|
46 |
pprint(history)
|
|
|
47 |
|
48 |
# Let's just rebuild every time it's easier
|
49 |
chat_history = [{"role": "system", "content": system_prompt}]
|
|
|
44 |
print('---')
|
45 |
print('Prompt:', system_prompt)
|
46 |
pprint(history)
|
47 |
+
print(message)
|
48 |
|
49 |
# Let's just rebuild every time it's easier
|
50 |
chat_history = [{"role": "system", "content": system_prompt}]
|