Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def extract_text_from_pdf(pdf_path):
|
|
| 16 |
return text
|
| 17 |
|
| 18 |
# Extract text from the PDF
|
| 19 |
-
pdf_text = extract_text_from_pdf('
|
| 20 |
|
| 21 |
# Convert the text to a DataFrame
|
| 22 |
df = pd.DataFrame({'text': [pdf_text]})
|
|
|
|
| 16 |
return text
|
| 17 |
|
| 18 |
# Extract text from the PDF
|
| 19 |
+
pdf_text = extract_text_from_pdf('FridayMaster/CHATBOT1/Getting Started with Ubuntu 16.04.pdf') # Replace with your PDF path
|
| 20 |
|
| 21 |
# Convert the text to a DataFrame
|
| 22 |
df = pd.DataFrame({'text': [pdf_text]})
|