Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ random.seed(42)
|
|
| 12 |
torch.manual_seed(42)
|
| 13 |
|
| 14 |
# Load the saved model and LabelEncoder
|
| 15 |
-
learn = load_learner('
|
| 16 |
-
label_encoder = joblib.load('
|
| 17 |
|
| 18 |
# Function to make predictions
|
| 19 |
def predict_location(input_data):
|
|
|
|
| 12 |
torch.manual_seed(42)
|
| 13 |
|
| 14 |
# Load the saved model and LabelEncoder
|
| 15 |
+
learn = load_learner('tabular_model1.pkl') # Replace with your model path
|
| 16 |
+
label_encoder = joblib.load('label_encoder.pkl') # Replace with your encoder path
|
| 17 |
|
| 18 |
# Function to make predictions
|
| 19 |
def predict_location(input_data):
|