Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ learn_api = Flask("ExtraaLearn")
|
|
| 12 |
model = joblib.load("learn_model.joblib")
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
-
@
|
| 16 |
def home():
|
| 17 |
return "Welcome to the Lead Prediction System"
|
| 18 |
|
|
|
|
| 12 |
model = joblib.load("learn_model.joblib")
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
+
@learn_api.get('/')
|
| 16 |
def home():
|
| 17 |
return "Welcome to the Lead Prediction System"
|
| 18 |
|