Spaces:
Runtime error
Runtime error
Update annotation.py
Browse files- annotation.py +3 -2
annotation.py
CHANGED
|
@@ -2,10 +2,11 @@ import re
|
|
| 2 |
import os
|
| 3 |
import json
|
| 4 |
from huggingface_hub import HfApi, HfFolder, Repository
|
|
|
|
| 5 |
|
| 6 |
# ๅๅงๅ Hub token
|
| 7 |
-
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 8 |
-
REPO_ID =
|
| 9 |
|
| 10 |
def get_user_annotation_file(username):
|
| 11 |
"""่ทๅ็จๆท็นๅฎ็ๆ ๆณจๆไปถ่ทฏๅพ"""
|
|
|
|
| 2 |
import os
|
| 3 |
import json
|
| 4 |
from huggingface_hub import HfApi, HfFolder, Repository
|
| 5 |
+
import config
|
| 6 |
|
| 7 |
# ๅๅงๅ Hub token
|
| 8 |
+
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 9 |
+
REPO_ID = config.SAVE_REPO_ID
|
| 10 |
|
| 11 |
def get_user_annotation_file(username):
|
| 12 |
"""่ทๅ็จๆท็นๅฎ็ๆ ๆณจๆไปถ่ทฏๅพ"""
|