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 805107a commit c2916aaCopy full SHA for c2916aa
onnx_diagnostic/torch_models/hghub/model_inputs.py
@@ -95,6 +95,8 @@ def get_untrained_model_with_inputs(
95
print("-- dynamic shapes:", pprint.pformat(data['dynamic_shapes']))
96
print("-- configuration:", pprint.pformat(data['configuration']))
97
"""
98
+ if task == "":
99
+ task = None
100
assert not use_preinstalled or not use_only_preinstalled, (
101
f"model_id={model_id!r}, preinstalled model is only available "
102
f"if use_only_preinstalled is False."
0 commit comments