Spaces:
Sleeping
Sleeping
Rename arima.py to app.py
Browse files- arima.py → app.py +1 -1
arima.py → app.py
RENAMED
|
@@ -6,7 +6,7 @@ import matplotlib.pyplot as plt
|
|
| 6 |
st.title("Future crime pattern prediction ")
|
| 7 |
|
| 8 |
# Load the trained ARIMA model
|
| 9 |
-
with open(
|
| 10 |
model_fit = pickle.load(f)
|
| 11 |
|
| 12 |
# Define number of future periods for forecasting
|
|
|
|
| 6 |
st.title("Future crime pattern prediction ")
|
| 7 |
|
| 8 |
# Load the trained ARIMA model
|
| 9 |
+
with open("arima_model.pkl", 'rb') as f:
|
| 10 |
model_fit = pickle.load(f)
|
| 11 |
|
| 12 |
# Define number of future periods for forecasting
|