Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
|
11 |
# Start by setting token and debug mode before starting schedulers
|
12 |
import os
|
13 |
-
|
14 |
-
|
15 |
#logging.set_verbosity_debug()
|
16 |
|
17 |
import openai
|
|
|
10 |
|
11 |
# Start by setting token and debug mode before starting schedulers
|
12 |
import os
|
13 |
+
from huggingface_hub import logging, login
|
14 |
+
login(token=os.environ.get("HF_TOKEN"), write_permission=True)
|
15 |
#logging.set_verbosity_debug()
|
16 |
|
17 |
import openai
|