Spaces:
Sleeping
Sleeping
| 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() |