File size: 460 Bytes
3b921c8
 
 
 
257def5
cd1194d
 
 
8140a1e
 
f78253b
 
1
2
3
4
5
6
7
8
9
10
11
12
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'