Spaces:
Runtime error
Runtime error
anonymoussubmitter222
commited on
Commit
·
be68d89
1
Parent(s):
b7e34c4
run opts cpu
Browse files
app.py
CHANGED
|
@@ -357,6 +357,7 @@ english_asr_model = ASRCV(
|
|
| 357 |
english_asr_model.modules.to("cpu")
|
| 358 |
english_asr_model.device="cpu"
|
| 359 |
english_asr_model.checkpointer.recover_if_possible()
|
|
|
|
| 360 |
print("moving to tunisian model")
|
| 361 |
asr_brain = ASR(
|
| 362 |
modules=hparams["modules"],
|
|
|
|
| 357 |
english_asr_model.modules.to("cpu")
|
| 358 |
english_asr_model.device="cpu"
|
| 359 |
english_asr_model.checkpointer.recover_if_possible()
|
| 360 |
+
run_opts["device"]="cpu"
|
| 361 |
print("moving to tunisian model")
|
| 362 |
asr_brain = ASR(
|
| 363 |
modules=hparams["modules"],
|