File size: 270 Bytes
d0dae0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr


def get_model():
    return ''


def run(img):
    print('running...')
    return img 


gr.Markdown('Upload Foto Wajah Kamu (Pastikan hanya terdapat SATU wajah pada)')
iface = gr.Interface(fn=run, inputs=["image"], outputs="image")
iface.launch()