Parcourir la source

fix bug #502 (#504)

### What problem does this PR solve?

#502 
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.3.1
KevinHuSh il y a 1 an
Parent
révision
aa71462a9f
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 0
    1
      docker/entrypoint.sh
  2. 1
    1
      rag/app/paper.py

+ 0
- 1
docker/entrypoint.sh Voir le fichier

@@ -23,7 +23,6 @@ function watch_broker(){
}

function task_bro(){
sleep 160;
watch_broker;
}


+ 1
- 1
rag/app/paper.py Voir le fichier

@@ -78,7 +78,7 @@ class Pdf(PdfParser):
title = ""
authors = []
i = 0
while i < min(32, len(self.boxes)):
while i < min(32, len(self.boxes)-1):
b = self.boxes[i]
i += 1
if b.get("layoutno", "").find("title") >= 0:

Chargement…
Annuler
Enregistrer