Pengwei Li
commited on
Commit
•
ae4accc
1
Parent(s):
eeb92fe
Update README.md
Browse files
README.md
CHANGED
@@ -46,8 +46,8 @@ models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
|
|
46 |
arg_overrides={"config_yaml": "config.yaml", "task": "speech_to_text"},
|
47 |
cache_dir=cache_dir,
|
48 |
)
|
49 |
-
model = models[0].cpu()
|
50 |
-
cfg["task"].cpu = True
|
51 |
generator = task.build_generator([model], cfg)
|
52 |
|
53 |
|
|
|
46 |
arg_overrides={"config_yaml": "config.yaml", "task": "speech_to_text"},
|
47 |
cache_dir=cache_dir,
|
48 |
)
|
49 |
+
#model = models[0].cpu()
|
50 |
+
#cfg["task"].cpu = True
|
51 |
generator = task.build_generator([model], cfg)
|
52 |
|
53 |
|