f66c338
e1d8c90
f66c338
7eb4e1d
f58f16f
f66c338
6db61bc
d0ce59f |
|
import gradio as gr
import json
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(share=True) |