diff --git a/demo/image_mod.py b/demo/image_mod.py index ae155c6a95..7cf7c5d9ca 100644 --- a/demo/image_mod.py +++ b/demo/image_mod.py @@ -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()