bupa1018 commited on
Commit
e7f96d6
·
1 Parent(s): f59899c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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")