Update app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,9 @@ with gr.Blocks(title=title) as demo:
|
|
72 |
Income = gr.Dropdown(label="Income Level", choices=["< $10,000", "$10,000 - $24,999", "$25,000 - $49,999", "$50,000 - $74,999", "$75,000 or more"], default="< $10,000", description="Income level")
|
73 |
)
|
74 |
|
75 |
-
input_block
|
76 |
|
77 |
-
output_block
|
78 |
gr.Label(label="Predicted Label"),
|
79 |
gr.Plot(label="SHAP Plot")
|
80 |
)
|
|
|
72 |
Income = gr.Dropdown(label="Income Level", choices=["< $10,000", "$10,000 - $24,999", "$25,000 - $49,999", "$50,000 - $74,999", "$75,000 or more"], default="< $10,000", description="Income level")
|
73 |
)
|
74 |
|
75 |
+
input_block == gr.Row([input_block_left, input_block_right])
|
76 |
|
77 |
+
output_block == gr.Column(
|
78 |
gr.Label(label="Predicted Label"),
|
79 |
gr.Plot(label="SHAP Plot")
|
80 |
)
|