Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
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
|
103 |
-
fieldList = [fieldA0, fieldA1
|
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=""
|