"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "abbc96a2148da0c91fa078bd021984b2cc10ef85"
Use `mkstemp` to replace deprecated `mktemp` (#23372)
* Use `mkstemp` to replace deprecated `mktemp` The `tempfile.mktemp` function is [deprecated](https://docs.python.org/3/library/tempfile.html#tempfile.mktemp) due to [security issues](https://cwe.mitre.org/data/definitions/377.html ). * Update src/transformers/utils/hub.py Co-authored-by:amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Showing
Please register or sign in to comment