Sunghokim commited on
Commit
331a521
·
verified ·
1 Parent(s): af04891

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', 'response_a']) # 빈 DataFrame 생성
38
 
39
  def get_answer(question):
40
- matching_answer = df[df['question'] == question]['answer'].values
41
  return matching_answer[0] if len(matching_answer) > 0 else None
42
 
43
  def respond(
 
37
  df = pd.DataFrame(columns=['instruction', 'response_a']) # 빈 DataFrame 생성
38
 
39
  def get_answer(question):
40
+ matching_answer = df[df['instruction'] == question]['response_a'].values
41
  return matching_answer[0] if len(matching_answer) > 0 else None
42
 
43
  def respond(