applied black
This commit is contained in:
parent
983265f435
commit
00ac0d61ab
@ -10,7 +10,6 @@ from image_prediction.utils.banner import show_banner
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
def predict(pdf):
|
||||
# Keras service_estimator.predict stalls when service_estimator was loaded in different process;
|
||||
# therefore, we re-load the model (part of the pipeline) every time we process a new document.
|
||||
|
||||
@ -17,7 +17,7 @@ pytest_plugins = [
|
||||
"test.fixtures.parameters",
|
||||
"test.fixtures.pdf",
|
||||
"test.fixtures.target",
|
||||
"test.unit_tests.image_stitching_test"
|
||||
"test.unit_tests.image_stitching_test",
|
||||
]
|
||||
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ from funcy import rcompose, chunks
|
||||
|
||||
|
||||
def test_rcompose():
|
||||
f = rcompose(lambda x: x ** 2, str, lambda x: x * 2)
|
||||
f = rcompose(lambda x: x**2, str, lambda x: x * 2)
|
||||
assert f(3) == "99"
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user