This commit is contained in:
yumoqing 2025-09-11 18:09:00 +08:00
parent 2a66a1f0fa
commit 5968a49099

View File

@ -115,6 +115,10 @@ class File2Text:
'mobi':MyMobiLoader,
'txt':MyTextLoader
}
@classmethod
def supported_types(self):
return [k for k in self.all_loaders.keys()]
def __init__(self, filepath):
self.filepath = filepath