Spaces:
Runtime error
Runtime error
Download app.py from contiamo/ai_studio: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/contiamo/ai_studio/resolve/main/app.py
- Command line
-
hf download hf://spaces/contiamo/ai_studio/app.py
-
curl -L -o app.py https://huggingface.co/spaces/contiamo/ai_studio/resolve/main/app.py
274 Bytes
| import zipfile | |
| import os | |
| def unzip_archive(zip_file, password, path): | |
| with zipfile.ZipFile(zip_file, 'r') as zf: | |
| zf.extractall(path, pwd=bytes(password, 'utf-8')) | |
| unzip_archive("./app_enc.py.zip", os.environ["encryption_pass"], "./") | |
| from app_enc import * |