(path)
| 864 | |
| 865 | |
| 866 | def load_hf_numpy(path) -> np.ndarray: |
| 867 | base_url = "https://huggingface.co/datasets/fusing/diffusers-testing/resolve/main" |
| 868 | |
| 869 | if not path.startswith("http://") and not path.startswith("https://"): |
| 870 | path = os.path.join(base_url, urllib.parse.quote(path)) |
| 871 | |
| 872 | return load_numpy(path) |
| 873 | |
| 874 | |
| 875 | # --- pytest conf functions --- # |
nothing calls this directly
no test coverage detected
searching dependent graphs…