Christhofer commited on
Commit
2f0136f
·
1 Parent(s): b0df6f9

add application file

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def predecir(imagen):
4
+ return {"benigno": 0.2, "maligno": 0.1, "normal":0.7}
5
+
6
+ iface = gr.Interface(fn=predecir, inputs="image", outputs="label")
7
+ iface.launch()