odaly commited on
Commit
d3ad937
·
verified ·
1 Parent(s): ca4d09b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ def save_chat_data(chat_data):
155
 
156
  # Function to handle uploaded text or PDF files and convert PDF to txt
157
  def handle_uploaded_file(uploaded_file):
158
- dataset_dir = "./pages"
159
  dataset_path = Path(dataset_dir) / f"{uploaded_file.name}.txt"
160
 
161
  # Check if the file is a PDF
 
155
 
156
  # Function to handle uploaded text or PDF files and convert PDF to txt
157
  def handle_uploaded_file(uploaded_file):
158
+ dataset_dir = "./dataset"
159
  dataset_path = Path(dataset_dir) / f"{uploaded_file.name}.txt"
160
 
161
  # Check if the file is a PDF