Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,6 @@ def load_hubert():
|
|
100 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
101 |
["hubert_base.pt"],
|
102 |
suffix="",
|
103 |
-
weights_only=False
|
104 |
)
|
105 |
hubert_model = models[0]
|
106 |
hubert_model = hubert_model.to(config.device)
|
|
|
100 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
101 |
["hubert_base.pt"],
|
102 |
suffix="",
|
|
|
103 |
)
|
104 |
hubert_model = models[0]
|
105 |
hubert_model = hubert_model.to(config.device)
|