youngtsai commited on
Commit
46d0709
1 Parent(s): a48f81b

dialogue = create_chat_dialogue(rounds, role1, role2, theme, language)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def create_chat_dialogue(rounds, role1, role2, theme, language):
86
 
87
  def generate_dialogue(rounds, method, role1, role2, theme, language):
88
  if method == "auto":
89
- dialogue = create_chat_dialogue(rounds, role1, role2, theme)
90
  else:
91
  dialogue = [{"role": role1, "content": "手動輸入文本 1"}, {"role": role2, "content": "手動輸入文本 2"}]
92
  return dialogue
 
86
 
87
  def generate_dialogue(rounds, method, role1, role2, theme, language):
88
  if method == "auto":
89
+ dialogue = create_chat_dialogue(rounds, role1, role2, theme, language)
90
  else:
91
  dialogue = [{"role": role1, "content": "手動輸入文本 1"}, {"role": role2, "content": "手動輸入文本 2"}]
92
  return dialogue