Skip to content

Commit

Permalink
fix json param
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekkrthakur committed Dec 6, 2023
1 parent d91c8aa commit 1721f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autotrain/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def _create_endpoint(self):
"HF_TOKEN": self.params.token,
"AUTOTRAIN_USERNAME": self.username,
"PROJECT_NAME": self.params.project_name,
"PARAMS": self.params.model_dump_json(),
"PARAMS": json.dumps(self.params.model_dump_json()),
"DATA_PATH": self.params.data_path,
"TASK_ID": str(self.task_id),
"MODEL": self.params.model,
Expand Down

0 comments on commit 1721f6d

Please sign in to comment.