mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed model api url
This commit is contained in:
parent
0f3e325f5b
commit
3166ce5521
1 changed files with 1 additions and 4 deletions
|
|
@ -56,10 +56,7 @@ class ModelApi:
|
|||
raise ValueError(f"Model prefix specified is not in {self.MODEL_PREFIXES}")
|
||||
|
||||
# Store parquet file in s3 for scoring
|
||||
file_location = "sap_change_predictions/{portfolio_id}/{timestamp}.parquet".format(
|
||||
portfolio_id=self.portfolio_id,
|
||||
timestamp=self.timestamp
|
||||
)
|
||||
file_location = f"{model_prefix}/{self.portfolio_id}/{self.timestamp}.parquet"
|
||||
|
||||
logger.info("Storing scoring data to s3")
|
||||
save_dataframe_to_s3_parquet(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue