peterpeter8585 commited on
Commit
667340e
·
verified ·
1 Parent(s): 60b8fdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 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]})
 
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]})