Othniel74 commited on
Commit
9f12a38
·
verified ·
1 Parent(s): b7aab0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -63,12 +63,12 @@ with gr.Blocks() as app:
63
  with gr.Row():
64
  with gr.Column():
65
  gr.Markdown("#### INPUT PARAMETERS")
66
- model_selection = gr.Dropdown(choices=['Random Forest', 'Gradient Boost', 'Neural Network'], label="Model Selection", required=True)
67
- interpretability_selection = gr.Dropdown(choices=['LIME', 'SHAP'], label="Interpretability Technique", required=True)
68
- step = gr.Number(label="Step(Transaction Time)", required=True)
69
- transaction_type = gr.Dropdown(choices=['Transfer', 'Payment', 'Cash Out', 'Cash In'], label="Transaction Type", required=True)
70
- transaction_amount = gr.Number(label="Transaction Amount", required=True)
71
- old_balance_org = gr.Number(label="Old Balance Org", required=True)
72
  submit_btn = gr.Button("Analyze")
73
 
74
  # Define outputs
 
63
  with gr.Row():
64
  with gr.Column():
65
  gr.Markdown("#### INPUT PARAMETERS")
66
+ model_selection = gr.Dropdown(choices=['Random Forest', 'Gradient Boost', 'Neural Network'], label="Model Selection")
67
+ interpretability_selection = gr.Dropdown(choices=['LIME', 'SHAP'], label="Interpretability Technique")
68
+ step = gr.Number(label="Step(Transaction Time)")
69
+ transaction_type = gr.Dropdown(choices=['Transfer', 'Payment', 'Cash Out', 'Cash In'], label="Transaction Type")
70
+ transaction_amount = gr.Number(label="Transaction Amount")
71
+ old_balance_org = gr.Number(label="Old Balance Org")
72
  submit_btn = gr.Button("Analyze")
73
 
74
  # Define outputs