Spaces:
Runtime error
Runtime error
import gradio as gr | |
import cv2 | |
def process_image(img): | |
blur = cv2.blur(img,(5,5)) | |
return blur | |
interface = gr.Interface( | |
fn = process_image, | |
#inputs='image', | |
inputs="webcam", | |
outputs='image', | |
title='Facial Expression', | |
description='Facial expression detection test') | |
interface.launch() |