JVice commited on
Commit
1ec7af4
1 Parent(s): 8f252ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -14,10 +14,9 @@ import tab_manager
14
  import yaml
15
  from yaml.loader import SafeLoader
16
  from PIL import Image
17
- from huggingface_hub import CommitScheduler, HfApi, CommitOperationAdd
18
-
19
- huggingface-cli login --token $HUGGINGFACE_TOKEN
20
 
 
21
  AUTHENTICATOR = None
22
  TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
23
  USER_LOGGED_IN = False
 
14
  import yaml
15
  from yaml.loader import SafeLoader
16
  from PIL import Image
17
+ from huggingface_hub import CommitScheduler, HfApi, CommitOperationAdd, login
 
 
18
 
19
+ login()
20
  AUTHENTICATOR = None
21
  TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
22
  USER_LOGGED_IN = False