Sam Chaudry
		
	commited on
		
		
					Add files using upload-large-folder tool
Browse files- upload_to_huggingface.py +14 -1
    	
        upload_to_huggingface.py
    CHANGED
    
    | @@ -13,7 +13,20 @@ upload_large_folder( | |
| 13 | 
             
                repo_id=repo_id,
         | 
| 14 | 
             
                folder_path=".",  
         | 
| 15 | 
             
                repo_type="model",
         | 
| 16 | 
            -
             | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 17 | 
             
            )
         | 
| 18 |  | 
| 19 |  | 
|  | |
| 13 | 
             
                repo_id=repo_id,
         | 
| 14 | 
             
                folder_path=".",  
         | 
| 15 | 
             
                repo_type="model",
         | 
| 16 | 
            +
                 ignore_patterns=[
         | 
| 17 | 
            +
                    "venv/*",
         | 
| 18 | 
            +
                    ".env",
         | 
| 19 | 
            +
                    "__pycache__/*",
         | 
| 20 | 
            +
                    "*.pyc",
         | 
| 21 | 
            +
                    "*.pkl",
         | 
| 22 | 
            +
                    "*.ipynb",
         | 
| 23 | 
            +
                    "tests/*",
         | 
| 24 | 
            +
                    ".DS_Store",
         | 
| 25 | 
            +
                    ".vscode/*",
         | 
| 26 | 
            +
                    "cache/*",
         | 
| 27 | 
            +
                    ".git/*",
         | 
| 28 | 
            +
                    "*.log"
         | 
| 29 | 
            +
                ]
         | 
| 30 | 
             
            )
         | 
| 31 |  | 
| 32 |  | 
