Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -27,9 +27,9 @@ SeniorCitizen = st.selectbox("Is the customer a senior citizen?", ["Yes", "No"])
|
|
| 27 |
|
| 28 |
# Convert categorical inputs to match model training
|
| 29 |
input_data = pd.DataFrame([{
|
| 30 |
-
'Partner':
|
| 31 |
-
'Dependents':
|
| 32 |
-
'PhoneService':
|
| 33 |
'InternetService': InternetService,
|
| 34 |
'Contract': Contract,
|
| 35 |
'PaymentMethod': PaymentMethod,
|
|
|
|
| 27 |
|
| 28 |
# Convert categorical inputs to match model training
|
| 29 |
input_data = pd.DataFrame([{
|
| 30 |
+
'Partner': Partner,
|
| 31 |
+
'Dependents': Dependents,
|
| 32 |
+
'PhoneService': PhoneService,
|
| 33 |
'InternetService': InternetService,
|
| 34 |
'Contract': Contract,
|
| 35 |
'PaymentMethod': PaymentMethod,
|