Spaces:
Sleeping
Sleeping
update forecasting.py
Browse filesExit code: 1. Reason: Traceback (most recent call last):
File "/home/user/app/app.py", line 16, in <module>
from forecasting import InventoryForecaster
File "/home/user/app/forecasting.py", line 14, in <module>
class InventoryForecaster:
File "/home/user/app/forecasting.py", line 371, in InventoryForecaster
def get_recommendations(self, forecast_results: pd.DataFrame) -> Dict[str, Any]:
NameError: name 'Any' is not defined. Did you mean: 'any'?
- forecasting.py +1 -1
forecasting.py
CHANGED
|
@@ -6,7 +6,7 @@ Implements multiple methods for predicting days until stockout
|
|
| 6 |
import pandas as pd
|
| 7 |
import numpy as np
|
| 8 |
from datetime import datetime, timedelta
|
| 9 |
-
from typing import Dict, List, Optional, Tuple
|
| 10 |
import logging
|
| 11 |
|
| 12 |
logger = logging.getLogger(__name__)
|
|
|
|
| 6 |
import pandas as pd
|
| 7 |
import numpy as np
|
| 8 |
from datetime import datetime, timedelta
|
| 9 |
+
from typing import Dict, List, Optional, Tuple, Any
|
| 10 |
import logging
|
| 11 |
|
| 12 |
logger = logging.getLogger(__name__)
|