Spaces:
Runtime error
Runtime error
import PIL as image | |
def gray(image): | |
image_gray = image.convert('L') | |
return image_gray | |
import gradio as gr | |
gr.Interface(fn=gray, inputs="image", outputs="image").launch() |