Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -93,8 +93,10 @@ demo = gr.Interface(
|
|
93 |
gr.Radio(['N', 'Y'],label="Person Defaulted in History"),
|
94 |
gr.Number(label="Person's Credit History Length"),
|
95 |
],
|
96 |
-
outputs =
|
97 |
-
title =
|
|
|
|
|
98 |
examples = [[23,25000,'RENT',2,'EDUCATION','A',30000,8.9,'N',6],
|
99 |
[34,50000,'OWN',1,'MEDICAL','B',62000,10.65,'N',3],
|
100 |
[42,30000,"MORTGAGE",12,'HOMEIMPROVEMENT','C',800000,7.9,'Y',8],
|
|
|
93 |
gr.Radio(['N', 'Y'],label="Person Defaulted in History"),
|
94 |
gr.Number(label="Person's Credit History Length"),
|
95 |
],
|
96 |
+
outputs = gr.Radio(['Low risk of defaulting', 'High risk of defaulting']),
|
97 |
+
title = "Non Payment Credit Risk Predictor",
|
98 |
+
theme=gr.themes.Soft(),
|
99 |
+
thumbnail= "https://huggingface.co/spaces/harish199/Non_Payment_Credit_Risk_Automation/blob/main/Non_payment_logo.png"
|
100 |
examples = [[23,25000,'RENT',2,'EDUCATION','A',30000,8.9,'N',6],
|
101 |
[34,50000,'OWN',1,'MEDICAL','B',62000,10.65,'N',3],
|
102 |
[42,30000,"MORTGAGE",12,'HOMEIMPROVEMENT','C',800000,7.9,'Y',8],
|