Spaces:
Sleeping
Sleeping
ww commited on
Commit ·
14a449c
1
Parent(s): 7aa11c1
else
Browse files
app.py
CHANGED
|
@@ -26,6 +26,8 @@ def generate_response(
|
|
| 26 |
if isinstance(system_prompt,list):
|
| 27 |
history = system_prompt
|
| 28 |
print("system_prompt as history")
|
|
|
|
|
|
|
| 29 |
system_prompt = "i'm a friendly robot"
|
| 30 |
print('=====================')
|
| 31 |
print(prompt)
|
|
|
|
| 26 |
if isinstance(system_prompt,list):
|
| 27 |
history = system_prompt
|
| 28 |
print("system_prompt as history")
|
| 29 |
+
else:
|
| 30 |
+
print(type(system-prompt))
|
| 31 |
system_prompt = "i'm a friendly robot"
|
| 32 |
print('=====================')
|
| 33 |
print(prompt)
|