chore: Remove local test code
Signed-off-by: EricXiao <taoiaox@gmail.com>
This commit is contained in:
parent
742866b4c9
commit
8566516cec
1 changed files with 0 additions and 9 deletions
|
|
@ -227,12 +227,3 @@ class AdvancedPdfLoader(LoaderInterface):
|
||||||
if value is None:
|
if value is None:
|
||||||
return ""
|
return ""
|
||||||
return str(value).replace("\xa0", " ").strip()
|
return str(value).replace("\xa0", " ").strip()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
loader = AdvancedPdfLoader()
|
|
||||||
asyncio.run(
|
|
||||||
loader.load(
|
|
||||||
"/Users/xiaotao/work/cognee/cognee/infrastructure/loaders/external/attention_is_all_you_need.pdf"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue