Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ threshold = 0.65
|
|
12 |
# This block loads the pre-trained model from a pickle file.
|
13 |
# Ensure 'model_trained.p' is in the same directory as this script.
|
14 |
try:
|
15 |
-
with open("
|
16 |
model = pickle.load(pickle_in)
|
17 |
print("Model loaded successfully.")
|
18 |
except FileNotFoundError:
|
|
|
12 |
# This block loads the pre-trained model from a pickle file.
|
13 |
# Ensure 'model_trained.p' is in the same directory as this script.
|
14 |
try:
|
15 |
+
with open("model_trained_10.p", "rb") as pickle_in:
|
16 |
model = pickle.load(pickle_in)
|
17 |
print("Model loaded successfully.")
|
18 |
except FileNotFoundError:
|