apply lint
This commit is contained in:
parent
e034ebfc13
commit
b4240a288d
|
@ -1,8 +1,13 @@
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from onnx_web.diffusers.load import get_available_pipelines, get_pipeline_schedulers, get_scheduler_name
|
|
||||||
from diffusers import DDIMScheduler
|
from diffusers import DDIMScheduler
|
||||||
|
|
||||||
|
from onnx_web.diffusers.load import (
|
||||||
|
get_available_pipelines,
|
||||||
|
get_pipeline_schedulers,
|
||||||
|
get_scheduler_name,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class TestAvailablePipelines(unittest.TestCase):
|
class TestAvailablePipelines(unittest.TestCase):
|
||||||
def test_available_pipelines(self):
|
def test_available_pipelines(self):
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
from typing import Optional
|
|
||||||
from multiprocessing import Event
|
|
||||||
import unittest
|
import unittest
|
||||||
from onnx_web.params import DeviceParams
|
from multiprocessing import Event
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
|
from onnx_web.params import DeviceParams
|
||||||
from onnx_web.server.context import ServerContext
|
from onnx_web.server.context import ServerContext
|
||||||
from onnx_web.worker.pool import DevicePoolExecutor
|
from onnx_web.worker.pool import DevicePoolExecutor
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue