Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
10 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
11 |
|
12 |
# Load the PDF file
|
13 |
-
pdf_path = Path("
|
14 |
with open_pdf(pdf_path) as pdf:
|
15 |
text = "\n".join(page.extract_text() for page in pdf.pages)
|
16 |
|
|
|
10 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
11 |
|
12 |
# Load the PDF file
|
13 |
+
pdf_path = Path("apexcustoms.pdf")
|
14 |
with open_pdf(pdf_path) as pdf:
|
15 |
text = "\n".join(page.extract_text() for page in pdf.pages)
|
16 |
|