Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
jhj0517/sam2-playground
RedmondHosting
/
sam2-playground
like
0
Runtime error
App
Files
Files
Community
526c234
sam2-playground
/
modules
/
utils.py
jhj0517
Add utils
526c234
4 months ago
raw
Copy download link
history
blame
200 Bytes
import
os
def
open_folder
(
folder_path:
str
):
if
os.path.exists(folder_path):
os.system(
f'start "" "
{folder_path}
"'
)
else
:
print
(
f"The folder '
{folder_path}
' does not exist."
)