Spaces:
Sleeping
Sleeping
File size: 381 Bytes
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 effect classifier",
description="Upload an image, and the system will predict classification.")
iface.launch() |