Yuchan5386 commited on
Commit
2812b06
·
verified ·
1 Parent(s): 9f5ee66

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -334,7 +334,7 @@ def respond(input_text):
334
  if not keyword:
335
  return "어떤 주제에 대해 궁금한가요?"
336
  summary = summarize_from_wikipedia(keyword)
337
- return f"{second_summary}\n다른 궁금한 점 있으신가요?"
338
 
339
  # 일상 대화: 샘플링 + fallback
340
  response = generate_text_with_temp_and_rep_penalty(model, input_text)
 
334
  if not keyword:
335
  return "어떤 주제에 대해 궁금한가요?"
336
  summary = summarize_from_wikipedia(keyword)
337
+ return f"{summary}\n다른 궁금한 점 있으신가요?"
338
 
339
  # 일상 대화: 샘플링 + fallback
340
  response = generate_text_with_temp_and_rep_penalty(model, input_text)