Raven7 commited on
Commit
302283e
·
verified ·
1 Parent(s): 2b9f03a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ except Exception as e:
37
  df = pd.DataFrame(columns=['instruction','responsea', 'responseb']) # 빈 DataFrame 생성
38
 
39
  def get_answer(question):
40
- matching_answer = df[df['instruction'] == question]['response a'].values, ['response b'].values
41
  return matching_answer[0] if len(matching_answer) > 0 else None
42
 
43
  def respond(
 
37
  df = pd.DataFrame(columns=['instruction','responsea', 'responseb']) # 빈 DataFrame 생성
38
 
39
  def get_answer(question):
40
+ matching_answer = df[df['instruction'] == question]['responsea'].values, ['responseb'].values
41
  return matching_answer[0] if len(matching_answer) > 0 else None
42
 
43
  def respond(