Skip to content

Commit

Permalink
Run code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
  • Loading branch information
alex-jw-brooks committed Jun 24, 2024
1 parent 147c94a commit 9dacb91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/runtime/run_train_and_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# pylint: disable=no-name-in-module,import-error
try:
# Third Party
# First Party
from generated import (
computervisionservice_pb2_grpc,
computervisiontrainingservice_pb2_grpc,
Expand All @@ -41,7 +41,7 @@
# The location of these imported message types depends on the version of Caikit
# that we are using.
try:
# Third Party
# First Party
from generated.caikit_data_model.caikit_computer_vision import (
flatchannel_pb2,
flatimage_pb2,
Expand All @@ -58,7 +58,7 @@
IS_LEGACY = False
except ModuleNotFoundError:
# older versions of Caikit / py to proto create a flat proto structure
# Third Party
# First Party
from generated import objectdetectiontaskrequest_pb2
from generated import (
objectdetectiontasktransformersobjectdetectortrainrequest_pb2 as odt_request_pb2,
Expand Down
7 changes: 5 additions & 2 deletions tests/modules/text_to_image/test_sdxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@
# limitations under the License.

# Standard
import os
from tempfile import TemporaryDirectory
import caikit_computer_vision
import os

# Local
from caikit_computer_vision.modules.text_to_image import SDXLStub
import caikit_computer_vision


def test_sdxl_stub():
"""Ensure that the stubs for load / save / run work as expected."""
Expand Down

0 comments on commit 9dacb91

Please sign in to comment.