Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey committed Jun 11, 2024
1 parent 7d3d242 commit d58104d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
# pylint: disable=ungrouped-imports
try:
from apache_beam.ml.transforms.embeddings.tensorflow_hub import TensorflowHubTextEmbeddings
import tensorflow as tf
except ImportError:
TensorflowHubTextEmbeddings = None # type: ignore
tf = None # type: ignore
Expand All @@ -49,7 +48,7 @@
try:
from apache_beam.ml.transforms.embeddings.tensorflow_hub import TensorflowHubImageEmbeddings
from PIL import Image
except:
except ImportError:
TensorflowHubImageEmbeddings = None # type: ignore
Image = None # type: ignore

Expand Down

0 comments on commit d58104d

Please sign in to comment.