Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
markytools
/
strexp
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c31349f
strexp
/
util
/
clean.py
markytools
added strexp
d61b9c7
almost 2 years ago
raw
Copy download link
history
blame
Safe
207 Bytes
import
settings
import
os
def
clean
():
filelist = [f
for
f
in
os.listdir(settings.OUTPUT_FOLDER)
if
f.endswith(
'mmap'
)]
for
f
in
filelist:
os.remove(os.path.join(settings.OUTPUT_FOLDER, f))