Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
iperov
GitHub Repository: iperov/deepfacelab
Path: blob/master/DFLIMG/DFLIMG.py
628 views
1
from pathlib import Path
2
3
from .DFLJPG import DFLJPG
4
5
class DFLIMG():
6
7
@staticmethod
8
def load(filepath, loader_func=None):
9
if filepath.suffix == '.jpg':
10
return DFLJPG.load ( str(filepath), loader_func=loader_func )
11
else:
12
return None
13
14