rishiraj commited on
Commit
cedec09
1 Parent(s): d95c01c

Update pdf/pdf_extractor.py

Browse files
Files changed (1) hide show
  1. pdf/pdf_extractor.py +4 -1
pdf/pdf_extractor.py CHANGED
@@ -49,4 +49,7 @@ class PDFExtractor(Extractor):
49
  feature = Feature.metadata({"type": "table", "page": int(page)})
50
  contents.append(Content(content_type="application/json", data=json.dumps(content), features=[feature]))
51
 
52
- return contents
 
 
 
 
49
  feature = Feature.metadata({"type": "table", "page": int(page)})
50
  contents.append(Content(content_type="application/json", data=json.dumps(content), features=[feature]))
51
 
52
+ return contents
53
+
54
+ def sample_input(self) -> Content:
55
+ return self.sample_scientific_pdf()