Spaces:
Running
Running
Update extract_text_from_pdf.py
Browse files- extract_text_from_pdf.py +1 -1
extract_text_from_pdf.py
CHANGED
|
@@ -17,7 +17,7 @@ class PDFTextExtractor:
|
|
| 17 |
A class to handle PDF text extraction and preprocessing for podcast preparation.
|
| 18 |
"""
|
| 19 |
|
| 20 |
-
def __init__(self, pdf_path, output_path
|
| 21 |
"""
|
| 22 |
Initialize the PDFTextExtractor with paths and model details.
|
| 23 |
|
|
|
|
| 17 |
A class to handle PDF text extraction and preprocessing for podcast preparation.
|
| 18 |
"""
|
| 19 |
|
| 20 |
+
def __init__(self, pdf_path, output_path, model_name="meta-llama/Llama-3.2-1B-Instruct"):
|
| 21 |
"""
|
| 22 |
Initialize the PDFTextExtractor with paths and model details.
|
| 23 |
|