Spaces:
Sleeping
Sleeping
File size: 183 Bytes
2f0136f |
1 2 3 4 5 6 7 |
import gradio as gr
def predecir(imagen):
return {"benigno": 0.2, "maligno": 0.1, "normal":0.7}
iface = gr.Interface(fn=predecir, inputs="image", outputs="label")
iface.launch() |