Khd-B commited on
Commit
c3ca56d
1 Parent(s): 8fcfdaa

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 = "/content/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 = "https://huggingface.co/spaces/Khd-B/Study_Assistant/raw/main/Accounting.pdf" # Update this with the actual file path in Spaces
18
 
19
  # Initialize the model
20
  model = SentenceTransformer('all-MiniLM-L6-v2')