fix tests

This commit is contained in:
thomwolf
2019-09-25 21:14:12 +02:00
parent 78863f6b36
commit a6bcfb8015
3 changed files with 5 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ from .file_utils import cached_path, is_tf_available, is_torch_available
if is_tf_available():
import tensorflow as tf
if is_torch_available()
if is_torch_available():
import torch
logger = logging.getLogger(__name__)