Spaces:
Sleeping
Sleeping
ww commited on
Commit ·
57f2bfd
1
Parent(s): 14a449c
=====
Browse files
app.py
CHANGED
|
@@ -23,11 +23,14 @@ def generate_response(
|
|
| 23 |
temperature,
|
| 24 |
top_p,
|
| 25 |
):
|
|
|
|
| 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)
|
|
|
|
| 23 |
temperature,
|
| 24 |
top_p,
|
| 25 |
):
|
| 26 |
+
print('=====================')
|
| 27 |
if isinstance(system_prompt,list):
|
| 28 |
history = system_prompt
|
| 29 |
print("system_prompt as history")
|
| 30 |
else:
|
| 31 |
print(type(system-prompt))
|
| 32 |
+
print('=====================')
|
| 33 |
+
|
| 34 |
system_prompt = "i'm a friendly robot"
|
| 35 |
print('=====================')
|
| 36 |
print(prompt)
|