Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

DFLIMG.py 281 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
  1. from pathlib import Path
  2. from .DFLJPG import DFLJPG
  3. class DFLIMG():
  4. @staticmethod
  5. def load(filepath, loader_func=None):
  6. if filepath.suffix == '.jpg':
  7. return DFLJPG.load ( str(filepath), loader_func=loader_func )
  8. else:
  9. return None
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...