Rafa1986 commited on
Commit
7e7a2a5
·
verified ·
1 Parent(s): 567bb77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def detect_language(text):
22
  # Set up OpenAI API key (replace with your key)
23
  openai.api_key = "YOUR_OPENAI_API_KEY"
24
 
25
- def extract_files_from_folder('C:\\Users\\Rafael\\Documents\\DataScience\\Data Analitics'):
26
  """Scans a folder and its subfolders for PDF, TXT, and CSV files."""
27
  extracted_files = {"pdf": [], "txt": [], "csv": []}
28
 
 
22
  # Set up OpenAI API key (replace with your key)
23
  openai.api_key = "YOUR_OPENAI_API_KEY"
24
 
25
+ def extract_files_from_folder(folder_path):
26
  """Scans a folder and its subfolders for PDF, TXT, and CSV files."""
27
  extracted_files = {"pdf": [], "txt": [], "csv": []}
28