youngtsai commited on
Commit
a48f81b
·
1 Parent(s): acdf0a8

def create_chat_dialogue(rounds, role1, role2, theme, language):

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def extract_json_from_response(response_text):
50
  raise ValueError("JSON dialogue not found in the response.")
51
 
52
 
53
- def create_chat_dialogue(rounds, role1, role2, theme="購物", language):
54
  openai.api_key = os.environ["OPEN_AI_KEY"]
55
 
56
  # 初始化對話
 
50
  raise ValueError("JSON dialogue not found in the response.")
51
 
52
 
53
+ def create_chat_dialogue(rounds, role1, role2, theme, language):
54
  openai.api_key = os.environ["OPEN_AI_KEY"]
55
 
56
  # 初始化對話