Spaces:
Sleeping
Sleeping
File size: 378 Bytes
e27c378 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
from predict import predict_one_image
input_image = [
gr.components.Image(type='filepath',label='Input Image')
]
examples = ['joha.jpg','anger.png','bratt.jpg']
gr.Interface(
fn=predict_one_image,
inputs=input_image,
outputs='text',
title="CELEBRITY & EMOTION RECOGNITION APP",
examples=examples,
cache_examples=False,
).launch() |