docs(pipeline): Add clarification for repo name sanitization process

This commit is contained in:
Adil Zouitine
2025-07-23 11:43:02 +02:00
parent 907023f9f7
commit 5ced72e6b8
+1
View File
@@ -419,6 +419,7 @@ class RobotProcessor(ModelHubMixin):
# Sanitize processor name for use in filenames
import re
# The huggingface hub does not allow special characters in the repo name, so we sanitize the name
sanitized_name = re.sub(r"[^a-zA-Z0-9_]", "_", self.name.lower())
# Use sanitized name for config if not provided