legacy107 commited on
Commit
45ff783
1 Parent(s): 8c7ff32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def retrieve_context(question, contexts):
142
 
143
 
144
  # Define your function to generate answers
145
- def generate_answer(question, context, ground, do_pretrained, do_natural):
146
  contexts = chunk_splitter(clean_data(context))
147
  context = retrieve_context(question, contexts)
148
 
 
142
 
143
 
144
  # Define your function to generate answers
145
+ def generate_answer(question, context, ground, do_pretrained, do_natural, do_pretrained_natural):
146
  contexts = chunk_splitter(clean_data(context))
147
  context = retrieve_context(question, contexts)
148