Moha782 commited on
Commit
7b7129f
·
verified ·
1 Parent(s): bca5017

Update app.py

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