youngtsai commited on
Commit
830e7f1
·
1 Parent(s): 82ec76e

file_name = "dialogue_output.txt"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def main_function(rounds: int, method: str, role1: str, role2: str):
20
  json_output = json.dumps({"dialogue": dialogue}, ensure_ascii=False, indent=4)
21
 
22
  # 儲存對話為 JSON 文件
23
- file_name = "dialogue_output.json"
24
  with open(file_name, "w", encoding="utf-8") as f:
25
  f.write(json_output)
26
 
 
20
  json_output = json.dumps({"dialogue": dialogue}, ensure_ascii=False, indent=4)
21
 
22
  # 儲存對話為 JSON 文件
23
+ file_name = "dialogue_output.txt"
24
  with open(file_name, "w", encoding="utf-8") as f:
25
  f.write(json_output)
26