Fix doc links in release utils (#15903)

This commit is contained in:
Sylvain Gugger 2022-03-02 18:06:31 -05:00 committed by GitHub
parent 3d2242869d
commit 39249c9589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,8 +88,8 @@ def clean_master_ref_in_model_list():
while not lines[index].startswith(_end_prompt):
if lines[index].startswith("1."):
lines[index] = lines[index].replace(
"https://huggingface.co/transformers/master/model_doc",
"https://huggingface.co/transformers/model_doc",
"https://huggingface.co/docs/transformers/master/model_doc",
"https://huggingface.co/docs/transformers/model_doc",
)
index += 1