paperless_to_openwebui.py aktualisiert
This commit is contained in:
1 parent
49b2a4bc21
commit
fdc655541a
1 file changed
+4
-4
@@ -876,10 +876,6 @@ def wait_for_openwebui():
|
||||
log.info("Not ready yet, retrying in 10s...")
|
||||
time.sleep(10)
|
||||
|
||||
# ============================================================
|
||||
# MAIN
|
||||
# ============================================================
|
||||
def main():
|
||||
def ocr_fix_only_pass():
|
||||
"""
|
||||
Geht alle Paperless-Dokumente durch und korrigiert nur den OCR-Text.
|
||||
@@ -949,6 +945,10 @@ def main():
|
||||
log.info(" Skipped: %d", skipped)
|
||||
log.info(" Errors: %d", errors)
|
||||
|
||||
# ============================================================
|
||||
# MAIN
|
||||
# ============================================================
|
||||
def main():
|
||||
global KNOWLEDGE_ID
|
||||
init_db()
|
||||
wait_for_openwebui()
|
||||
|
||||
Reference in new issue
Block a user