Improve the frontend
This commit is contained in:
@@ -129,9 +129,7 @@ class EnhancedBakeryMLTrainer:
|
||||
|
||||
# Try to get historical average for more accurate estimates
|
||||
try:
|
||||
historical_avg = await asyncio.get_event_loop().run_in_executor(
|
||||
None,
|
||||
get_historical_average_estimate,
|
||||
historical_avg = await get_historical_average_estimate(
|
||||
db_session,
|
||||
tenant_id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user