Spaces:
Sleeping
Sleeping
Commit ·
b43a466
1
Parent(s): 9048d44
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,13 +57,11 @@ If customer tries ask for anything else except mortgage loan , you respond by sa
|
|
| 57 |
|
| 58 |
return response
|
| 59 |
|
| 60 |
-
|
| 61 |
fn=conversation_interface,
|
| 62 |
inputs=["text", "text"],
|
| 63 |
outputs="text",
|
| 64 |
layout="vertical",
|
| 65 |
title="Mortgage Loan Sales Assistant",
|
| 66 |
description="Chat with the Mortgage Loan Sales Assistant to calculate your eligibility for a mortgage loan."
|
| 67 |
-
)
|
| 68 |
-
|
| 69 |
-
iface.launch()
|
|
|
|
| 57 |
|
| 58 |
return response
|
| 59 |
|
| 60 |
+
gr.Interface(
|
| 61 |
fn=conversation_interface,
|
| 62 |
inputs=["text", "text"],
|
| 63 |
outputs="text",
|
| 64 |
layout="vertical",
|
| 65 |
title="Mortgage Loan Sales Assistant",
|
| 66 |
description="Chat with the Mortgage Loan Sales Assistant to calculate your eligibility for a mortgage loan."
|
| 67 |
+
).launch()
|
|
|
|
|
|