File size: 297 Bytes
5e8395e
e5ce3a7
1ed5ce5
 
e5ce3a7
a5027b3
e5ce3a7
 
 
 
1ed5ce5
5e8395e
a5027b3
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr
from utils.face_texture import GetFaceTexture

iface = gr.Interface(
    fn=GetFaceTexture().main,
    inputs=gr.inputs.Image(type="pil"),
    outputs=[gr.outputs.Image(type="pil"),
             gr.outputs.Image(type="pil"),
             "text"
             ]
)

iface.launch()