Spaces:
Sleeping
Sleeping
(nit) Proper login in status_checker
#1
by
Wauplin
HF Staff
- opened
- status_checker.py +2 -2
status_checker.py
CHANGED
|
@@ -2,13 +2,13 @@ import os
|
|
| 2 |
from pathlib import Path
|
| 3 |
from threading import Thread
|
| 4 |
import gradio as gr
|
| 5 |
-
from huggingface_hub import upload_folder,
|
| 6 |
import sys
|
| 7 |
import time
|
| 8 |
import subprocess
|
| 9 |
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
# Where outputs from user script will be pushed to for safe keeping
|
| 14 |
output_dataset_id = "nateraw/asdf123"
|
|
|
|
| 2 |
from pathlib import Path
|
| 3 |
from threading import Thread
|
| 4 |
import gradio as gr
|
| 5 |
+
from huggingface_hub import upload_folder, login, delete_repo
|
| 6 |
import sys
|
| 7 |
import time
|
| 8 |
import subprocess
|
| 9 |
|
| 10 |
|
| 11 |
+
login(os.getenv("HF_TOKEN"))
|
| 12 |
|
| 13 |
# Where outputs from user script will be pushed to for safe keeping
|
| 14 |
output_dataset_id = "nateraw/asdf123"
|