Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -12,18 +12,17 @@ st.set_page_config(
|
|
| 12 |
)
|
| 13 |
|
| 14 |
# Title and description
|
| 15 |
-
st.title("✈️ Wellness Tourism Package Predictor")
|
| 16 |
-
st.markdown(""
|
| 17 |
-
This application predicts whether a customer is likely to purchase the Wellness Tourism Package.
|
| 18 |
Enter customer details below to get a prediction.
|
| 19 |
-
""
|
| 20 |
|
| 21 |
# Load model
|
| 22 |
@st.cache_resource
|
| 23 |
def load_model():
|
| 24 |
try:
|
| 25 |
model_path = hf_hub_download(
|
| 26 |
-
repo_id='SharleyK/
|
| 27 |
filename='best_model.pkl'
|
| 28 |
)
|
| 29 |
model = joblib.load(model_path)
|
|
|
|
| 12 |
)
|
| 13 |
|
| 14 |
# Title and description
|
| 15 |
+
st.title("✈️ Wellness Tourism Package Purchase Predictor")
|
| 16 |
+
st.markdown(""This application predicts whether a customer is likely to purchase the Wellness Tourism Package.
|
|
|
|
| 17 |
Enter customer details below to get a prediction.
|
| 18 |
+
"")
|
| 19 |
|
| 20 |
# Load model
|
| 21 |
@st.cache_resource
|
| 22 |
def load_model():
|
| 23 |
try:
|
| 24 |
model_path = hf_hub_download(
|
| 25 |
+
repo_id='SharleyK/tourism-package-model',
|
| 26 |
filename='best_model.pkl'
|
| 27 |
)
|
| 28 |
model = joblib.load(model_path)
|