Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,11 @@ HF_TOKEN = os.environ["HF_Token"]
|
|
42 |
login(HF_TOKEN)
|
43 |
api = HfApi()
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
def download_gitlab_repo():
|
47 |
print("Start the upload_gitRepository function")
|
|
|
42 |
login(HF_TOKEN)
|
43 |
api = HfApi()
|
44 |
|
45 |
+
def load_project_id(json_file):
|
46 |
+
with open(json_file, 'r') as f:
|
47 |
+
data = json.load(f)
|
48 |
+
return data['project_id']
|
49 |
+
|
50 |
|
51 |
def download_gitlab_repo():
|
52 |
print("Start the upload_gitRepository function")
|