Khd-B commited on
Commit
41e2a16
1 Parent(s): c08fa5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def extract_text_from_pdf(pdf_path, start_page=0, end_page=10):
14
  return text
15
 
16
  # Load your PDF file (you might want to upload it separately in Spaces)
17
- pdf_path = "main/Accounting.pdf" # Update this with the actual file path in Spaces
18
 
19
  # Initialize the model
20
  model = SentenceTransformer('all-MiniLM-L6-v2')
 
14
  return text
15
 
16
  # Load your PDF file (you might want to upload it separately in Spaces)
17
+ pdf_path = "Accounting.pdf" # Update this with the actual file path in Spaces
18
 
19
  # Initialize the model
20
  model = SentenceTransformer('all-MiniLM-L6-v2')