mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
add ocr and recognizer demo, update README (#74)
This commit is contained in:
@ -185,5 +185,11 @@ def thumbnail(filename, blob):
|
||||
pass
|
||||
|
||||
|
||||
def traversal_files(base):
|
||||
for root, ds, fs in os.walk(base):
|
||||
for f in fs:
|
||||
fullname = os.path.join(root, f)
|
||||
yield fullname
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user