Hi, I am trying to run rpunct but getting following error in the console.
This is the error from the console:
File "app.py", line 3, in
rpunct = RestorePuncts()
File "/home/beck/miniconda3/envs/restore_punctuation/lib/python3.7/site-packages/rpunct/punctuate.py", line 18, in init
args={"silent": True, "max_seq_length": 512})
File "/home/beck/miniconda3/envs/restore_punctuation/lib/python3.7/site-packages/simpletransformers/ner/ner_model.py", line 212, in init
"'use_cuda' set to True when cuda is unavailable."
ValueError: 'use_cuda' set to True when cuda is unavailable.Make sure CUDA is available or set use_cuda=False.
How can I pass argument to RestorePuncts() to set cuda to False?