Skip to content

Commit

Permalink
fix bug #502 (#504)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

#502 
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
  • Loading branch information
KevinHuSh committed Apr 23, 2024
1 parent 72384b1 commit aa71462
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function watch_broker(){
}

function task_bro(){
sleep 160;
watch_broker;
}

Expand Down
2 changes: 1 addition & 1 deletion rag/app/paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _begin(txt):
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:
Expand Down

0 comments on commit aa71462

Please sign in to comment.