File size: 293 Bytes
5e8395e
7372611
5e8395e
1ed5ce5
 
 
 
7372611
a5027b3
 
1ed5ce5
5e8395e
a5027b3
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr
from cv_utils.facial_texture import compute_face_simplicity

def identity_function(input_image):
    return input_image

iface = gr.Interface(
    fn=compute_face_simplicity,
    inputs=gr.inputs.Image(type="pil"),
    outputs=gr.outputs.Image(type="pil")
)

iface.launch()