Update README.md
Browse files
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 |
```
|