Spaces:
Sleeping
Sleeping
Sarthakaushal
commited on
Commit
·
62a35ad
1
Parent(s):
edc2424
Secret key mgmt on hf
Browse files
app.py
CHANGED
|
@@ -32,9 +32,7 @@ class VideoAnnotator:
|
|
| 32 |
self.dataset = None
|
| 33 |
self.annotation_repo_id = "cricverse/CricBench_Annotations"
|
| 34 |
self.annotation_repo_type = "dataset"
|
| 35 |
-
self.annotation_hf_token = os.environ.get("
|
| 36 |
-
print(self.hf_token)
|
| 37 |
-
print(self.annotation_hf_token)
|
| 38 |
|
| 39 |
def load_videos_from_hf(self):
|
| 40 |
try:
|
|
|
|
| 32 |
self.dataset = None
|
| 33 |
self.annotation_repo_id = "cricverse/CricBench_Annotations"
|
| 34 |
self.annotation_repo_type = "dataset"
|
| 35 |
+
self.annotation_hf_token = os.environ.get("upload_token")
|
|
|
|
|
|
|
| 36 |
|
| 37 |
def load_videos_from_hf(self):
|
| 38 |
try:
|