Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# Load the saved Random Forest model
|
| 6 |
-
model = joblib.load('
|
| 7 |
|
| 8 |
# Define the feature names (as per your dataset)
|
| 9 |
feature_names = [
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# Load the saved Random Forest model
|
| 6 |
+
model = joblib.load('best_model.pkl')
|
| 7 |
|
| 8 |
# Define the feature names (as per your dataset)
|
| 9 |
feature_names = [
|