Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
dunlp
/
testfiles
like
0
Sleeping
App
Files
Files
Community
8bcf8dc
testfiles
/
utils
/
fileSelect.py
dunlp
Upload 5 files
3b83fd0
verified
4 months ago
raw
Copy download link
history
blame
Safe
218 Bytes
from
tkinter
import
Tk
from
tkinter.filedialog
import
askdirectory
def
getDirectory
(
**args
):
title = args.get(
"title"
,
None
)
Tk().withdraw()
return
askdirectory(title=title)
# getDirectory()