Spaces:
Sleeping
Sleeping
WebashalarForML
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,6 @@ def upload_file():
|
|
118 |
# Process non-JSON files, extract text and save to 'resume_text.txt'
|
119 |
def process_other_files(file_path, filename):
|
120 |
try:
|
121 |
-
file_paths = [os.path.join(app.config['UPLOAD_FOLDER'], filename)
|
122 |
extracted_text, _ = extract_text_based_on_format(file_path)
|
123 |
cleaned_text = preprocess_text(extracted_text)
|
124 |
|
|
|
118 |
# Process non-JSON files, extract text and save to 'resume_text.txt'
|
119 |
def process_other_files(file_path, filename):
|
120 |
try:
|
|
|
121 |
extracted_text, _ = extract_text_based_on_format(file_path)
|
122 |
cleaned_text = preprocess_text(extracted_text)
|
123 |
|