We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13d913 commit d28c883Copy full SHA for d28c883
src/fairscape_cli/commands/rocrate_commands.py
@@ -1085,6 +1085,9 @@ def registerHuggingFaceModel(
1085
except Exception as e:
1086
click.echo(f"ERROR fetching HuggingFace metadata: {e}", err=True)
1087
ctx.exit(code=1)
1088
+
1089
+ if 'https://' not in hf_metadata.get('landing_page_url'):
1090
+ hf_metadata['landing_page_url'] = "https://huggingface.co/" + hf_metadata.get('landing_page_url')
1091
1092
# Build params, with CLI options overriding HuggingFace metadata
1093
params = {
0 commit comments