MySafeCode commited on
Commit
006e77c
·
verified ·
1 Parent(s): 561112e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,7 +20,8 @@ def upload_file_to_hub(file_path, repo_id, path_in_repo, repo_type, commit_mess
20
  return "❌ Please select a file to upload"
21
 
22
  if not repo_id:
23
- return "❌ Please enter a repository ID"
 
24
 
25
  if not token:
26
  return "❌ Please enter your Hugging Face token"
 
20
  return "❌ Please select a file to upload"
21
 
22
  if not repo_id:
23
+ repo_id="MySafeCode/HfApi_Upload"
24
+ return "❌ Please enter a repository ID - now automatically set"
25
 
26
  if not token:
27
  return "❌ Please enter your Hugging Face token"