import os | |
c.JupyterHub.authenticator_class = "github" | |
c.OAuthenticator.oauth_callback_url = "https://tekknoman-ocr.hf.space/hub/oauth_callback" | |
c.OAuthenticator.client_id = os.environ['CLIENT_ID'] | |
c.OAuthenticator.client_secret = os.environ['CLIENT_SECRET'] | |
c.Authenticator.allowed_users = {'EloiMusk', 'slowlorizz'} | |
c.Authenticator.admin_users = {'EloiMusk'} | |
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner' | |
c.Spawner.notebook_dir = '~/notebooks' |