Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve ask_file_path function
This commit refactors the ask_file_path function in the main.py file. The function now includes separate logic for when the file location is "Provide path" and when it is not. It also introduces a validation function to check if the provided path is a valid file or an empty string. This refactoring improves code readability and maintainability by separating concerns and promoting code reuse.
- Loading branch information