Spaces:
Sleeping
Sleeping
added hf login
Browse files
app.py
CHANGED
@@ -11,7 +11,9 @@ import tab_manager
|
|
11 |
import yaml
|
12 |
from yaml.loader import SafeLoader
|
13 |
from PIL import Image
|
14 |
-
from huggingface_hub import CommitScheduler
|
|
|
|
|
15 |
|
16 |
AUTHENTICATOR = None
|
17 |
TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
|
|
|
11 |
import yaml
|
12 |
from yaml.loader import SafeLoader
|
13 |
from PIL import Image
|
14 |
+
from huggingface_hub import CommitScheduler, login
|
15 |
+
|
16 |
+
login(token=os.environ.get("HF_TOKEN"), write_permission=True)
|
17 |
|
18 |
AUTHENTICATOR = None
|
19 |
TBYB_LOGO = Image.open('./assets/TBYB_logo_light.png')
|