Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def process_pdf_to_podcast(pdf_file):
|
|
| 30 |
# Step 1: Extract Text from PDF
|
| 31 |
shutil.copy(pdf_file, pdf_path)
|
| 32 |
|
| 33 |
-
extractor = PDFTextExtractor(pdf_path,clean_text_path
|
| 34 |
clean_text_path = extractor.clean_and_save_text()
|
| 35 |
|
| 36 |
# Display a preview of extracted text
|
|
|
|
| 30 |
# Step 1: Extract Text from PDF
|
| 31 |
shutil.copy(pdf_file, pdf_path)
|
| 32 |
|
| 33 |
+
extractor = PDFTextExtractor(pdf_path,clean_text_path)
|
| 34 |
clean_text_path = extractor.clean_and_save_text()
|
| 35 |
|
| 36 |
# Display a preview of extracted text
|