Update app.py
Browse files
app.py
CHANGED
@@ -333,7 +333,7 @@ def rephrase_question_who(question):
|
|
333 |
else:
|
334 |
return question
|
335 |
#------------------------------------------------------------------------
|
336 |
-
@st.cache
|
337 |
def gen_qa_who(df):
|
338 |
list_of_ques_who=[]
|
339 |
list_of_ans_who=[]
|
@@ -394,7 +394,7 @@ def rephrase_question_what(question):
|
|
394 |
else:
|
395 |
return question
|
396 |
#----------------------------------------------------------
|
397 |
-
@st.cache
|
398 |
def gen_qa_what(df):
|
399 |
list_of_ques_what=[]
|
400 |
list_of_ans_what=[]
|
@@ -456,7 +456,7 @@ def rephrase_question_why(question):
|
|
456 |
return question
|
457 |
|
458 |
#---------------------------------------------------------
|
459 |
-
@st.cache
|
460 |
def gen_qa_why(df):
|
461 |
list_of_ques_why=[]
|
462 |
list_of_ans_why=[]
|
@@ -517,7 +517,7 @@ def rephrase_question_when(question):
|
|
517 |
else:
|
518 |
return question
|
519 |
#---------------------------------------------------------
|
520 |
-
@st.cache
|
521 |
def gen_qa_when(df):
|
522 |
list_of_ques_when=[]
|
523 |
list_of_ans_when=[]
|
@@ -578,7 +578,7 @@ def rephrase_question_where(question):
|
|
578 |
else:
|
579 |
return question
|
580 |
#------------------------------------------------------
|
581 |
-
@st.cache
|
582 |
def gen_qa_where(df):
|
583 |
list_of_ques_where=[]
|
584 |
list_of_ans_where=[]
|
|
|
333 |
else:
|
334 |
return question
|
335 |
#------------------------------------------------------------------------
|
336 |
+
# @st.cache
|
337 |
def gen_qa_who(df):
|
338 |
list_of_ques_who=[]
|
339 |
list_of_ans_who=[]
|
|
|
394 |
else:
|
395 |
return question
|
396 |
#----------------------------------------------------------
|
397 |
+
# @st.cache
|
398 |
def gen_qa_what(df):
|
399 |
list_of_ques_what=[]
|
400 |
list_of_ans_what=[]
|
|
|
456 |
return question
|
457 |
|
458 |
#---------------------------------------------------------
|
459 |
+
# @st.cache
|
460 |
def gen_qa_why(df):
|
461 |
list_of_ques_why=[]
|
462 |
list_of_ans_why=[]
|
|
|
517 |
else:
|
518 |
return question
|
519 |
#---------------------------------------------------------
|
520 |
+
# @st.cache
|
521 |
def gen_qa_when(df):
|
522 |
list_of_ques_when=[]
|
523 |
list_of_ans_when=[]
|
|
|
578 |
else:
|
579 |
return question
|
580 |
#------------------------------------------------------
|
581 |
+
# @st.cache
|
582 |
def gen_qa_where(df):
|
583 |
list_of_ques_where=[]
|
584 |
list_of_ans_where=[]
|