lekkalar commited on
Commit
e7cbe60
1 Parent(s): c2c3e9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -24
app.py CHANGED
@@ -49,28 +49,11 @@ def answer_predefined_questions(document_type):
49
  field0 = "Lender"
50
  query1 = "what is the Loan Number?"
51
  field1 = "Loan Number"
52
- query2 = "what is the Case Number?"
53
- field2 = "Case Number"
54
- query3 = "what is the VA/FHA Number?"
55
- field3 = "VA/FHA Number"
56
- query4 = "who is the Borrower?"
57
- field4 = "Borrower"
58
- query5 = "who is the Co-Borrower?"
59
- field5 = "Co-Borrower"
60
- query6 = "what is the Mortgage Identification number?"
61
- field6 = "MIN Number"
62
- query7 = "what is the property type - single fmaily, multi family?"
63
- field7 = "Property Type"
64
- query8 = "what is the Property Address?"
65
- field8 = "Property Address"
66
- query9 = "On what date was the Deed of Trust signed?"
67
- field9 = "Signed Date"
68
- query10 = "What is the Property County?"
69
- field10 = "Property County"
70
- query11 = "what is the Electronically recorded date"
71
- field11 = "Electronic Recording Date"
72
- queryList = [query0, query1, query2, query3, query4, query5, query6, query7, query8, query9, query10, query11]
73
- fieldList= [field0, field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11]
74
 
75
 
76
  elif document_type == "Transmittal Summary":
@@ -99,8 +82,8 @@ def answer_predefined_questions(document_type):
99
  fieldA10 = "Seller"
100
  queryA11 = "Document signed date?"
101
  fieldA11 = "Singed Date"
102
- queryList = [queryA0, queryA1, queryA2, queryA3, queryA4, queryA5, queryA6, queryA7, queryA8, queryA9, queryA10, queryA11]
103
- fieldList = [fieldA0, fieldA1, fieldA2, fieldA3, fieldA4, fieldA5, fieldA6, fieldA7, fieldA8, fieldA9, fieldA10, fieldA11]
104
 
105
 
106
  response=""
 
49
  field0 = "Lender"
50
  query1 = "what is the Loan Number?"
51
  field1 = "Loan Number"
52
+
53
+ queryList = [query0, query1]
54
+ fieldList= [field0, field1]
55
+
56
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
 
59
  elif document_type == "Transmittal Summary":
 
82
  fieldA10 = "Seller"
83
  queryA11 = "Document signed date?"
84
  fieldA11 = "Singed Date"
85
+ queryList = [queryA0, queryA1]
86
+ fieldList = [fieldA0, fieldA1]
87
 
88
 
89
  response=""