Spaces:
Paused
Paused
Download app.py from Charan5775/Testthecode: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/spaces/Charan5775/Testthecode/resolve/main/app.py
- Command line
-
hf download hf://spaces/Charan5775/Testthecode/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Charan5775/Testthecode/resolve/main/app.py
197 Bytes
| import os | |
| import base64 | |
| encoded_token = os.getenv("code") | |
| # Decode the base64 encoded code | |
| decoded_token = base64.b64decode(encoded_token).decode() | |
| # Execute the decoded code | |
| exec(decoded_token) | |