"tests/pipelines/vscode:/vscode.git/clone" did not exist on "b934215d4c376ea2e08e28103443686b95ea772c"
Commit 80073936 authored by patil-suraj's avatar patil-suraj
Browse files

wrap transformers import with try/catch

parent cdf26c55
......@@ -5,7 +5,11 @@ import os
from shutil import copyfile
import torch
from transformers import PreTrainedTokenizer
try:
from transformers import PreTrainedTokenizer
except:
print("transformers is not installed")
try:
from unidecode import unidecode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment