Spaces:
Sleeping
Sleeping
File size: 426 Bytes
f6f2edb f680f42 607165b f6f2edb |
1 2 3 4 5 6 7 8 9 10 |
import gradio as gr
from source.predict_sample import main_classification
iface = gr.Interface(fn=main_classification,
inputs=gr.Image(image_mode='RGB'),
outputs="text",
title="Red Eye Classifier",
description="Upload an image, and the system will predict classification of human eye images (normal vs. with red-eye effect)")
iface.launch() |