Handle whitespaces in HuggingFace URLs
iamfaisalkhan opened this issue · 0 comments
iamfaisalkhan commented
Describe the bug
When scanning hugging face models, modelscan is not properly handling whitespaces and crashing.
To Reproduce
Steps to reproduce the behavior:
- pipe install modelscan
- modelscan -hf stabilityai/StableBeluga2
Expected behavior
modelscan should escape these URLs properly.
Environment (please complete the following information):
- macOS-13.3.1-arm64-arm-64bit
- Modelscan Version: latest
- ML Framework version: Any
Additional context
N/A