Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,10 @@ def score_client(card_transactions_file, product: str):
|
|
36 |
return default_proba, shap_fig
|
37 |
|
38 |
|
39 |
-
title = "
|
40 |
-
description = "
|
|
|
|
|
41 |
|
42 |
inputs = [gr.File(), gr.Dropdown(choices=list(products.keys()), value=list(products.keys())[0])]
|
43 |
outputs = [gr.Textbox(label='Your credit score (the more, the better)', interactive=False),
|
|
|
36 |
return default_proba, shap_fig
|
37 |
|
38 |
|
39 |
+
title = "Credit score demo"
|
40 |
+
description = "This demo allows to evaluate credit score solely based on card transaction history. \
|
41 |
+
You can upload your own transaction history .csv file or use transactions from the examples. \
|
42 |
+
After that, please specify a credit product of interest. When the evaluation is done, you can examine an importances plot that may explain the result."
|
43 |
|
44 |
inputs = [gr.File(), gr.Dropdown(choices=list(products.keys()), value=list(products.keys())[0])]
|
45 |
outputs = [gr.Textbox(label='Your credit score (the more, the better)', interactive=False),
|