Update commit description to give more context in PRs
Browse files- convert.py +2 -0
convert.py
CHANGED
@@ -47,6 +47,7 @@ def convert_multi(api: HfApi, model_id) -> CommitInfo:
|
|
47 |
repo_id=model_id,
|
48 |
operations=operations,
|
49 |
commit_message="Adding `safetensors` variant of this model",
|
|
|
50 |
create_pr=True,
|
51 |
)
|
52 |
finally:
|
@@ -66,6 +67,7 @@ def convert_single(api: HfApi, model_id) -> CommitInfo:
|
|
66 |
repo_id=model_id,
|
67 |
operations=operations,
|
68 |
commit_message="Adding `safetensors` variant of this model",
|
|
|
69 |
create_pr=True,
|
70 |
)
|
71 |
finally:
|
|
|
47 |
repo_id=model_id,
|
48 |
operations=operations,
|
49 |
commit_message="Adding `safetensors` variant of this model",
|
50 |
+
commit_description="Converted from this Space: https://huggingface.co/spaces/safetensors/convert",
|
51 |
create_pr=True,
|
52 |
)
|
53 |
finally:
|
|
|
67 |
repo_id=model_id,
|
68 |
operations=operations,
|
69 |
commit_message="Adding `safetensors` variant of this model",
|
70 |
+
commit_description="Converted from this Space: https://huggingface.co/spaces/safetensors/convert",
|
71 |
create_pr=True,
|
72 |
)
|
73 |
finally:
|