Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
import pandas as pd
|
| 4 |
import joblib
|
| 5 |
-
import gradio as gr
|
| 6 |
|
| 7 |
# Load saved objects (make sure these files are in the same directory as app.py)
|
| 8 |
feature_columns = joblib.load('feature_columns.pkl')
|
|
@@ -76,7 +76,7 @@ inputs = [
|
|
| 76 |
gr.Dropdown(["Yes", "No", "No internet service"], label="DeviceProtection"),
|
| 77 |
gr.Dropdown(["Yes", "No", "No internet service"], label="TechSupport"),
|
| 78 |
gr.Dropdown(["Yes", "No", "No internet service"], label="StreamingTV"),
|
| 79 |
-
gr.Dropdown(["Yes", "No", "No internet service"], label="StreamingMovies"),
|
| 80 |
gr.Dropdown(["Month-to-month", "One year", "Two year"], label="Contract"),
|
| 81 |
gr.Dropdown(["Yes", "No"], label="PaperlessBilling"),
|
| 82 |
gr.Dropdown(["Electronic check", "Mailed check", "Bank transfer (automatic)", "Credit card (automatic)"], label="PaymentMethod")
|
|
|
|
| 2 |
|
| 3 |
import pandas as pd
|
| 4 |
import joblib
|
| 5 |
+
import gradio as gr
|
| 6 |
|
| 7 |
# Load saved objects (make sure these files are in the same directory as app.py)
|
| 8 |
feature_columns = joblib.load('feature_columns.pkl')
|
|
|
|
| 76 |
gr.Dropdown(["Yes", "No", "No internet service"], label="DeviceProtection"),
|
| 77 |
gr.Dropdown(["Yes", "No", "No internet service"], label="TechSupport"),
|
| 78 |
gr.Dropdown(["Yes", "No", "No internet service"], label="StreamingTV"),
|
| 79 |
+
gr.Dropdown(["Yes", "No", "No internet service"], label="StreamingMovies"),
|
| 80 |
gr.Dropdown(["Month-to-month", "One year", "Two year"], label="Contract"),
|
| 81 |
gr.Dropdown(["Yes", "No"], label="PaperlessBilling"),
|
| 82 |
gr.Dropdown(["Electronic check", "Mailed check", "Bank transfer (automatic)", "Credit card (automatic)"], label="PaymentMethod")
|