Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Karim-53 committed Jun 10, 2021
1 parent dcd679e commit dd23dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
deepspeech==0.7.1
google-cloud-speech==1.3.2
tensorflow==2.5.0
dill
librosa
numpy==1.18.2
pandas==0.25.3
Expand Down
2 changes: 1 addition & 1 deletion utils/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def clean_cache_directories(cache_directory: str = DEFAULT_CACHE_DIRECTORY) -> N
# If the cache directory doesn't exist, then just make an empty one.
if not os.path.isdir(cache_directory):
os.makedirs(cache_directory)

for subdirectory in os.listdir(cache_directory):
logging.info("Removing cache_subdirectory {}.".format(subdirectory))
shutil.rmtree(os.path.join(cache_directory, subdirectory))
Expand Down

0 comments on commit dd23dff

Please sign in to comment.