fix tests

This commit is contained in:
Ali Abid 2021-10-13 21:14:42 +00:00
parent 792828349f
commit 325ca5175e

View File

@ -7,14 +7,7 @@ def image_mod(image):
return image.rotate(45)
iface = gr.Interface(image_mod,
gr.inputs.Image(type="pil", optional=True),
"image",
examples=[
["images/cheetah1.jpg"],
["images/cheetah2.jpg"],
["images/lion.jpg"],
], live=True)
iface = gr.Interface(image_mod, gr.inputs.Image(type="pil", optional=True), "image")
if __name__ == "__main__":
iface.launch()