romanbredehoft-zama commited on
Commit
482af6f
β€’
1 Parent(s): 615cfe4

Add emojis and upload banner of better quality

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. images/banner.png +0 -0
app.py CHANGED
@@ -169,7 +169,7 @@ with demo:
169
 
170
  with gr.Row():
171
  with gr.Column():
172
- gr.Markdown("### Step 2.1 - Applicant information")
173
  bool_inputs = gr.CheckboxGroup(
174
  ["Car", "Property", "Mobile phone"],
175
  label="Which of the following do you actively hold or own?"
@@ -242,7 +242,7 @@ with demo:
242
 
243
  gr.Markdown("<hr />")
244
  with gr.Column():
245
- gr.Markdown("### Step 2.2 - Bank information")
246
  account_age = gr.Slider(
247
  **ACCOUNT_MIN_MAX,
248
  step=1,
@@ -260,7 +260,7 @@ with demo:
260
 
261
  gr.Markdown("<hr />")
262
  with gr.Column():
263
- gr.Markdown("### Step 2.3 - Credit bureau information")
264
  employed = gr.Radio(["Yes", "No"], label="Is the person employed ?", value="Yes")
265
  years_employed = gr.Dropdown(
266
  choices=YEARS_EMPLOYED_BINS,
@@ -358,7 +358,7 @@ with demo:
358
  outputs=[prediction_output, encrypted_output_representation, get_output_button],
359
  )
360
 
361
- gr.Markdown("## Step 5 (optional): Explain the prediction.")
362
  gr.Markdown("<hr />")
363
  gr.Markdown(
364
  """
 
169
 
170
  with gr.Row():
171
  with gr.Column():
172
+ gr.Markdown("### Step 2.1 - Applicant information πŸ§‘β€πŸ’»")
173
  bool_inputs = gr.CheckboxGroup(
174
  ["Car", "Property", "Mobile phone"],
175
  label="Which of the following do you actively hold or own?"
 
242
 
243
  gr.Markdown("<hr />")
244
  with gr.Column():
245
+ gr.Markdown("### Step 2.2 - Bank information 🏦")
246
  account_age = gr.Slider(
247
  **ACCOUNT_MIN_MAX,
248
  step=1,
 
260
 
261
  gr.Markdown("<hr />")
262
  with gr.Column():
263
+ gr.Markdown("### Step 2.3 - Credit bureau information 🏒")
264
  employed = gr.Radio(["Yes", "No"], label="Is the person employed ?", value="Yes")
265
  years_employed = gr.Dropdown(
266
  choices=YEARS_EMPLOYED_BINS,
 
358
  outputs=[prediction_output, encrypted_output_representation, get_output_button],
359
  )
360
 
361
+ gr.Markdown("## Step 5: Explain the prediction (only if your credit card is likely to be denied).")
362
  gr.Markdown("<hr />")
363
  gr.Markdown(
364
  """
images/banner.png CHANGED