Anne31415 commited on
Commit
865d5fc
·
1 Parent(s): 7b261e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,16 +45,16 @@ pdf_path = "Private_Book/KOMBI_all2.pdf" # Replace with your PDF file path
45
 
46
  # Step 1: Clone the Dataset Repository
47
  repo = Repository(
48
- local_dir="Private_Book", # Local directory to clone the repository
49
  repo_type="dataset", # Specify that this is a dataset repository
50
- clone_from="Anne31415/Private_Book", # Replace with your repository URL
51
  token=os.environ["HUB_TOKEN2"] # Use the secret token to authenticate
52
  )
53
  repo.git_pull() # Pull the latest changes (if any)
54
 
55
 
56
  # Step 2: Load the PDF File
57
- pdf_path2 = "Private_Book/Deutsche_Kodierrichtlinien_23.pdf" # Replace with your PDF file path
58
 
59
 
60
  api_key = os.getenv("OPENAI_API_KEY")
 
45
 
46
  # Step 1: Clone the Dataset Repository
47
  repo = Repository(
48
+ local_dir="Deutsche_Kodierrichtlinie23", # Local directory to clone the repository
49
  repo_type="dataset", # Specify that this is a dataset repository
50
+ clone_from="Anne31415/Deutsche_Kodierrichtlinie23", # Replace with your repository URL
51
  token=os.environ["HUB_TOKEN2"] # Use the secret token to authenticate
52
  )
53
  repo.git_pull() # Pull the latest changes (if any)
54
 
55
 
56
  # Step 2: Load the PDF File
57
+ pdf_path2 = "Deutsche_Kodierrichtlinie23/Deutsche_Kodierrichtlinien_Version_2023_Endversion_im_PDF-Format_221013.pdf" # Replace with your PDF file path
58
 
59
 
60
  api_key = os.getenv("OPENAI_API_KEY")