Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,8 @@ def chat(message,
|
|
| 102 |
max_tokens,
|
| 103 |
temperature,
|
| 104 |
top_p):
|
| 105 |
-
|
|
|
|
| 106 |
for val in history:
|
| 107 |
if val[0]:
|
| 108 |
messages.append({"role": "user", "content": val[0]})
|
|
|
|
| 102 |
max_tokens,
|
| 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 made by an elementry school student who's huggingface id is peterpeter8585."}]
|
| 107 |
for val in history:
|
| 108 |
if val[0]:
|
| 109 |
messages.append({"role": "user", "content": val[0]})
|