Skip to content

Commit

Permalink
Fix NPE for tables. (#4956)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbirk authored Sep 26, 2024
1 parent 9737b50 commit 5df07b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/gollm/tasks/enrich_amr.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import sys
from gollm.entities import ConfigureModel
from gollm.openai.tool_utils import amr_enrichment_chain
from taskrunner import TaskRunnerInterface

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ public Future<TextExtraction> extractTextFromPDF(

static class TableExtraction {

List<JsonNode> tables;
List<JsonNode> tables = new ArrayList<>();
}

public Future<TableExtraction> extractTablesFromPDF(
Expand Down

0 comments on commit 5df07b8

Please sign in to comment.