Spaces:
Running
Running
Update hf_merge.py
Browse files- hf_merge.py +2 -0
hf_merge.py
CHANGED
|
@@ -11,7 +11,9 @@ import sys
|
|
| 11 |
import yaml
|
| 12 |
from huggingface_hub import snapshot_download
|
| 13 |
from huggingface_hub import HfApi, hf_hub_download
|
|
|
|
| 14 |
|
|
|
|
| 15 |
def parse_arguments():
|
| 16 |
parser = argparse.ArgumentParser(description="Merge HuggingFace models")
|
| 17 |
parser.add_argument('repo_list', type=str, help='File containing list of repositories to merge, supports mergekit yaml or txt')
|
|
|
|
| 11 |
import yaml
|
| 12 |
from huggingface_hub import snapshot_download
|
| 13 |
from huggingface_hub import HfApi, hf_hub_download
|
| 14 |
+
import spaces
|
| 15 |
|
| 16 |
+
@spaces.GPU
|
| 17 |
def parse_arguments():
|
| 18 |
parser = argparse.ArgumentParser(description="Merge HuggingFace models")
|
| 19 |
parser.add_argument('repo_list', type=str, help='File containing list of repositories to merge, supports mergekit yaml or txt')
|