gaeunseo commited on
Commit
f4a9a7d
·
verified ·
1 Parent(s): b63078f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def load_random_conversations():
29
  selected_groups = random.sample(valid_groups, 2)
30
 
31
  # 각 그룹의 모든 utterance를 이어붙여 하나의 대화 문자열로 생성
32
- conv_A = "\n".join(row["utterance"] for row in selected_groups[0])
33
- conv_B = "\n".join(row["utterance"] for row in selected_groups[1])
34
 
35
  return conv_A, conv_B
36
 
 
29
  selected_groups = random.sample(valid_groups, 2)
30
 
31
  # 각 그룹의 모든 utterance를 이어붙여 하나의 대화 문자열로 생성
32
+ conv_A = selected_groups[0]['text']
33
+ conv_B = selected_groups[1]['text']
34
 
35
  return conv_A, conv_B
36