Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ZSCGR
/
gemma-2
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
gemma-2
/
app
/
utils.py
ZSCGR
Upload folder using huggingface_hub
30c9413
verified
2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
112 Bytes
import
os, stat
def
_chmod_and_retry
(
func, path, exc
):
os.chmod(path, stat.S_IWRITE)
func(path)