Skip to content

Commit 82d66e5

Browse files
authored
Fix: swanlab public.cloud.experiment_url api error (#40763)
fix
1 parent a871f6f commit 82d66e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/integrations/integration_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2425,7 +2425,7 @@ def setup(self, args, state, model, **kwargs):
24252425
badge_markdown = (
24262426
f'[<img src="https://raw.githubusercontent.com/SwanHubX/assets/main/badge1.svg"'
24272427
f' alt="Visualize in SwanLab" height="28'
2428-
f'0" height="32"/>]({self._swanlab.get_run().public.cloud.exp_url})'
2428+
f'0" height="32"/>]({self._swanlab.get_run().public.cloud.experiment_url})'
24292429
)
24302430

24312431
modelcard.AUTOGENERATED_TRAINER_COMMENT += f"\n{badge_markdown}"

0 commit comments

Comments
 (0)