Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
pnstack
/
template-pytorch-model
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
06c8a6d
template-pytorch-model
/
src
/
utils
/
file.py
npv2k1
update
06c8a6d
verified
almost 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Safe
128 Bytes
import
os
# enssure folder exists
def
ensure_folder_exists
(
path
):
if
not
os.path.exists(path):
os.makedirs(path)