paperless_to_openwebui.py aktualisiert
This commit is contained in:
@@ -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