harish199 commited on
Commit
a97c705
1 Parent(s): 50454c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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 = "text",
97
- title = gr.Image(type="pil", value="Non_payment_logo.png"),
 
 
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],