Upload with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,13 +1,12 @@
|
|
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
-
license: mit
|
11 |
---
|
12 |
-
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
|
2 |
---
|
3 |
+
title: xgboost-income-prediction-with-explainability
|
4 |
+
emoji: 💩
|
5 |
+
colorFrom: indigo
|
6 |
+
colorTo: indigo
|
7 |
sdk: gradio
|
8 |
+
sdk_version: 3.3
|
9 |
+
|
10 |
app_file: app.py
|
11 |
pinned: false
|
|
|
12 |
---
|
|
|
|
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
# URL: https://huggingface.co/spaces/gradio/xgboost-income-prediction-with-explainability
|
|
|
2 |
# imports
|
3 |
import gradio as gr
|
4 |
import random
|
|
|
1 |
# URL: https://huggingface.co/spaces/gradio/xgboost-income-prediction-with-explainability
|
2 |
+
# DESCRIPTION: This demo takes in 12 inputs from the user in dropdowns and sliders and predicts income. It also has a separate button for explaining the prediction.
|
3 |
# imports
|
4 |
import gradio as gr
|
5 |
import random
|