Spaces:
Sleeping
Sleeping
Download oauth_test.py from Vanev/Case_Study_1: direct link, hf CLI and curl.
- Browser
- Download file 144 Bytes
-
https://huggingface.co/spaces/Vanev/Case_Study_1/resolve/main/oauth_test.py
- Command line
-
hf download hf://spaces/Vanev/Case_Study_1/oauth_test.py
-
curl -L -o oauth_test.py https://huggingface.co/spaces/Vanev/Case_Study_1/resolve/main/oauth_test.py
144 Bytes
| def test_for_oauth_token(): | |
| with open("app.py", 'r', encoding='utf-8') as f: | |
| code = f.read() | |
| assert "gr.OAuthToken" in code | |