Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ DATA_FILENAME = "data.csv"
|
|
59 |
DATA_FILE = os.path.join("data", DATA_FILENAME)
|
60 |
|
61 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
62 |
-
app.logger.info("HF_TOKEN is None
|
63 |
-
app.logger.info("hfh"
|
64 |
|
65 |
repo = Repository(
|
66 |
local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
|
|
59 |
DATA_FILE = os.path.join("data", DATA_FILENAME)
|
60 |
|
61 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
62 |
+
app.logger.info("HF_TOKEN is None: "+HF_TOKEN is None)
|
63 |
+
app.logger.info("hfh: "+huggingface_hub.__version__)
|
64 |
|
65 |
repo = Repository(
|
66 |
local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|