tea-phan-y commited on
Commit
82d4e5d
·
verified ·
1 Parent(s): d1e45af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def find_relevant_segment(user_query, book, segments):
62
  print(f"Error in finding relevant segment: {e}")
63
  return ""
64
 
65
- def generate_response(user_query, relevant_segment):
66
  """
67
  Generate a response emphasizing the bot's capability in providing literature information.
68
  """
 
62
  print(f"Error in finding relevant segment: {e}")
63
  return ""
64
 
65
+ def generate_response(user_query, book, relevant_segment):
66
  """
67
  Generate a response emphasizing the bot's capability in providing literature information.
68
  """