Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|