Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
lin7zhi
/
hfdeploy
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
hfdeploy
/
app
/
utils.py
lin7zhi
Upload folder using huggingface_hub
3f2f9a5
verified
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
Safe
106 Bytes
import
os, stat
def
_chmod_and_retry
(
func, path, exc
):
os.chmod(path, stat.S_IWRITE)
func(path)