MySafeCode commited on
Commit
01fdd0a
·
verified ·
1 Parent(s): 1cbaf1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import HfApi
3
  import os
4
 
5
 
6
- api = HfApi()
7
 
8
 
9
  def upload_file_to_hub(file_path, repo_id, path_in_repo, token, repo_type, commit_message):
 
3
  import os
4
 
5
 
6
+ token = os.getenv("Key")
7
 
8
 
9
  def upload_file_to_hub(file_path, repo_id, path_in_repo, token, repo_type, commit_message):