from .models_hifires import Generator_HiFiRes | |
from .models import Generator as Generator | |
class AttrDict(dict): | |
def __init__(self, *args, **kwargs): | |
super(AttrDict, self).__init__(*args, **kwargs) | |
self.__dict__ = self | |
from .models_hifires import Generator_HiFiRes | |
from .models import Generator as Generator | |
class AttrDict(dict): | |
def __init__(self, *args, **kwargs): | |
super(AttrDict, self).__init__(*args, **kwargs) | |
self.__dict__ = self | |