Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
| 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"
|