Spaces:
Build error
Build 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 trained model
|
| 6 |
-
with open(r"
|
| 7 |
model = pickle.load(f)
|
| 8 |
|
| 9 |
# Define encoding mappings for categorical variables
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# Load the trained model
|
| 6 |
+
with open(r"final_pickle_test.pkl","rb") as f:
|
| 7 |
model = pickle.load(f)
|
| 8 |
|
| 9 |
# Define encoding mappings for categorical variables
|