yujiepan commited on
Commit
d08703d
1 Parent(s): 7244d2c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -49,4 +49,7 @@ print(result)
49
  os.system(f'ls -alh {save_path}')
50
  create_repo(repo_id, exist_ok=True)
51
  upload_folder(repo_id=repo_id, folder_path=save_path)
 
 
 
52
  ```
 
49
  os.system(f'ls -alh {save_path}')
50
  create_repo(repo_id, exist_ok=True)
51
  upload_folder(repo_id=repo_id, folder_path=save_path)
52
+
53
+ from transformers import AutoProcessor
54
+ AutoProcessor.from_pretrained(source_model_id, trust_remote_code=True).push_to_hub(repo_id)
55
  ```