Spaces:
Runtime error
Runtime error
anonymoussubmitter222
commited on
Commit
·
25c18b5
1
Parent(s):
723a836
load in the cpu
Browse files
app.py
CHANGED
@@ -355,6 +355,7 @@ english_asr_model = ASRCV(
|
|
355 |
checkpointer=cvhparams["checkpointer"],
|
356 |
)
|
357 |
english_asr_model.modules.to("cpu")
|
|
|
358 |
english_asr_model.checkpointer.recover_if_possible()
|
359 |
print("moving to tunisian model")
|
360 |
asr_brain = ASR(
|
|
|
355 |
checkpointer=cvhparams["checkpointer"],
|
356 |
)
|
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(
|