mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
indentation fix
This commit is contained in:
parent
18617f310a
commit
f361f36625
@ -315,7 +315,7 @@ class TestImage(unittest.TestCase):
|
||||
with self.assertRaises(ValueError):
|
||||
wrong_type = gr.inputs.Image(type="unknown")
|
||||
wrong_type.preprocess(img)
|
||||
with self.assertRaises(ValueError):
|
||||
with self.assertRaises(ValueError):
|
||||
wrong_type = gr.inputs.Image(type="unknown")
|
||||
wrong_type.serialize("test/test_files/bus.png", False)
|
||||
img_pil = PIL.Image.open('test/test_files/bus.png')
|
||||
|
Loading…
Reference in New Issue
Block a user