legacy107 commited on
Commit
751e496
·
1 Parent(s): 60c61c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def retrieve_context(query, contexts):
76
 
77
  # Define your function to generate answers
78
  def generate_answer(question, context, ground):
79
- contexts = chunk_splitter(clean_data(context))
80
  context = retrieve_context(question, contexts)
81
 
82
  # Combine question and context
 
76
 
77
  # Define your function to generate answers
78
  def generate_answer(question, context, ground):
79
+ contexts = chunk_splitter(context)
80
  context = retrieve_context(question, contexts)
81
 
82
  # Combine question and context