peterpeter8585 commited on
Commit
504242e
·
verified ·
1 Parent(s): aa6752e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def respond1(multimodal_input, history: list[tuple[str, str]],system_message,max
19
  images = multimodal_input["files"]
20
  content = [{"type": "image"} for _ in images]
21
  content.append({"type": "text", "text": multimodal_input["text"]})
22
- messages=[{"role":"system", "content":["type":"text", "text":"Your name is Chatchat.And, your made by SungYoon.In Korean, 정성윤.And these are the instructions:"+system_message]}]
23
  messages.append([{"role": "user", "content": content}])
24
  for val in history:
25
  if val[1]:
 
19
  images = multimodal_input["files"]
20
  content = [{"type": "image"} for _ in images]
21
  content.append({"type": "text", "text": multimodal_input["text"]})
22
+ messages=[{"role":"system", "content":[{"type":"text", "text":"Your name is Chatchat.And, your made by SungYoon.In Korean, 정성윤.And these are the instructions:"+system_message}]}]
23
  messages.append([{"role": "user", "content": content}])
24
  for val in history:
25
  if val[1]: