diff --git a/backend/intelligent_parse.py b/backend/intelligent_parse.py index bc9b8d0..32ecb0a 100644 --- a/backend/intelligent_parse.py +++ b/backend/intelligent_parse.py @@ -2,13 +2,13 @@ from docx import Document def get_lst(): - df = pd.read_excel('backend/Sample_Questions_Compliance.xls') + df = pd.read_excel('Sample_Questions_Compliance.xls') lst = [] for index, row in df.iterrows(): lst.append((row['Model Question'], row['Additional Tags / Synonyms for questions (from QnA Chatbot)'],row['Model Answer'])) - wordDoc = Document('backend/Sample_Questions_Legal.docx') + wordDoc = Document('Sample_Questions_Legal.docx') for table in wordDoc.tables: for row in table.rows: @@ -42,4 +42,4 @@ def str_in_lst(quest, lst): -print(get_lst()) +#print(get_lst())