Moha782 commited on
Commit
86c8431
1 Parent(s): 898fa25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("path/to/your/pdf/file.pdf")
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