FaceRecognition / app.py
efghi7890's picture
Update app.py
4801698
raw
history blame
197 Bytes
import gradio as gr
import cv2
def greet(image):
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
return gray
iface = gr.Interface(fn=greet, inputs="image", outputs="image")
iface.launch()