You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defpdf_chunks(file: File) ->Iterator[Chunk]:
chunks= []
iflen(chunks) >3:
# Mind this line, it is causing an obvious IndexErrorprint(chunks[100000])
dc= (
DataChain.from_storage(source)
.filter(C.name.glob("*.pdf"))
.gen(document=pdf_chunks)
)
dc
When you run a code like:
it leads to something like this:
The text was updated successfully, but these errors were encountered: