Spaces:
Running
on
Zero
Running
on
Zero
# This file is autogenerated by the command `make fix-copies`, do not edit. | |
from ..utils import DummyObject, requires_backends | |
class OnnxRuntimeModel(metaclass=DummyObject): | |
_backends = ["onnx"] | |
def __init__(self, *args, **kwargs): | |
requires_backends(self, ["onnx"]) | |
def from_config(cls, *args, **kwargs): | |
requires_backends(cls, ["onnx"]) | |
def from_pretrained(cls, *args, **kwargs): | |
requires_backends(cls, ["onnx"]) | |