Skip to content

Commit

Permalink
apply lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Sep 14, 2023
1 parent e034ebf commit b4240a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion api/tests/test_diffusers/test_load.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import unittest

from onnx_web.diffusers.load import get_available_pipelines, get_pipeline_schedulers, get_scheduler_name
from diffusers import DDIMScheduler

from onnx_web.diffusers.load import (
get_available_pipelines,
get_pipeline_schedulers,
get_scheduler_name,
)


class TestAvailablePipelines(unittest.TestCase):
def test_available_pipelines(self):
Expand Down
6 changes: 3 additions & 3 deletions api/tests/worker/test_pool.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Optional
from multiprocessing import Event
import unittest
from onnx_web.params import DeviceParams
from multiprocessing import Event
from time import sleep
from typing import Optional

from onnx_web.params import DeviceParams
from onnx_web.server.context import ServerContext
from onnx_web.worker.pool import DevicePoolExecutor

Expand Down

0 comments on commit b4240a2

Please sign in to comment.