Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import joblib
|
3 |
|
4 |
# Load your saved model
|
5 |
-
model = joblib.load("
|
6 |
|
7 |
# Define the prediction function
|
8 |
def predict(age, hours, education, capital_gain, capital_loss):
|
|
|
2 |
import joblib
|
3 |
|
4 |
# Load your saved model
|
5 |
+
model = joblib.load("ann_model.joblib")
|
6 |
|
7 |
# Define the prediction function
|
8 |
def predict(age, hours, education, capital_gain, capital_loss):
|