Christhofer's picture
add interface for alexnet
7eb4e1d
raw
history blame
197 Bytes
import gradio as gr
def predict_alexnet(image):
return {'benigno': 0.2, 'maligno': 0.1, 'normal': 0.7}
iface = gr.Interface(fn=predict_alexnet, inputs="image", outputs="label")
iface.launch()