We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ed53d commit 02338c9Copy full SHA for 02338c9
src/diffusers/utils/testing_utils.py
@@ -522,7 +522,7 @@ def load_hf_numpy(path) -> np.ndarray:
522
base_url = "https://huggingface.co/datasets/fusing/diffusers-testing/resolve/main"
523
524
if not path.startswith("http://") and not path.startswith("https://"):
525
- path = os.path.join(base_url, urllib.parse.quote(path))
+ path = Path(base_url, urllib.parse.quote(path)).as_posix()
526
527
return load_numpy(path)
528
0 commit comments