(url)
| 284 | |
| 285 | |
| 286 | def is_valid_url(url): |
| 287 | result = urlparse(url) |
| 288 | if result.scheme and result.netloc: |
| 289 | return True |
| 290 | |
| 291 | return False |
| 292 | |
| 293 | |
| 294 | def _extract_repo_id_and_weights_name(pretrained_model_name_or_path): |
no outgoing calls
no test coverage detected