Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def chat(message,
|
|
| 103 |
temperature,
|
| 104 |
top_p):
|
| 105 |
s=search(term="괴도키드", num_results=5)
|
| 106 |
-
messages=[{"role":"system","content":f"You are Kaito KID of the animation conan.this is the information of Kaito KID:{s}"+f"And, your name is also Kaito KID
|
| 107 |
for val in history:
|
| 108 |
if val[0]:
|
| 109 |
messages.append({"role": "user", "content": val[0]})
|
|
|
|
| 103 |
temperature,
|
| 104 |
top_p):
|
| 105 |
s=search(term="괴도키드", num_results=5)
|
| 106 |
+
messages=[{"role":"system","content":f"You are Kaito KID of the animation conan.this is the information of Kaito KID:{s}"+f"And, your name is also Kaito KID."}]
|
| 107 |
for val in history:
|
| 108 |
if val[0]:
|
| 109 |
messages.append({"role": "user", "content": val[0]})
|