mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixing api call to sap model
This commit is contained in:
parent
bc398489af
commit
98b6261fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ async def trigger_plan(body: PlanTriggerRequest):
|
|||
logger.info("Making request to sap change api")
|
||||
sap_change_model_api = SAPChangeModelAPI()
|
||||
response = sap_change_model_api.predict(
|
||||
file_location="s3://{DATA_BUCKET}".format(DATA_BUCKET=get_settings().DATA_BUCKET) + file_location,
|
||||
file_location="s3://{DATA_BUCKET}/".format(DATA_BUCKET=get_settings().DATA_BUCKET) + file_location,
|
||||
created_at=created_at,
|
||||
portfolio_id=body.portfolio_id
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue