Spaces:
Runtime error
Runtime error
Change root again
Browse files- app.py +1 -1
- background_task.py +1 -1
app.py
CHANGED
@@ -15,7 +15,7 @@ ELO_FILENAME = "soccer_elo.csv"
|
|
15 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
16 |
|
17 |
repo = Repository(
|
18 |
-
local_dir="
|
19 |
)
|
20 |
|
21 |
block = gr.Blocks()
|
|
|
15 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
16 |
|
17 |
repo = Repository(
|
18 |
+
local_dir="soccer_elo", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
19 |
)
|
20 |
|
21 |
block = gr.Blocks()
|
background_task.py
CHANGED
@@ -10,7 +10,7 @@ ELO_FILENAME = "soccer_elo.csv"
|
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
11 |
|
12 |
repo = Repository(
|
13 |
-
local_dir="
|
14 |
)
|
15 |
|
16 |
|
|
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
11 |
|
12 |
repo = Repository(
|
13 |
+
local_dir="soccer_elo", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
|
14 |
)
|
15 |
|
16 |
|