edureyyy commited on
Commit
d6ca27e
1 Parent(s): c8cb137

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py DELETED
@@ -1,15 +0,0 @@
1
- from fastai.vision.all import *
2
- import gradio as gr
3
-
4
- label = ['Cancer', 'No Cancer']
5
-
6
- def classificador(im):
7
- pred,idx,probs = learn.predict(im)
8
- return dict(zip(label, map(float, probs)))
9
-
10
-
11
- imatge = gr.inputs.Image(shape=(192,192))
12
- label = gr.outputs.Label()
13
-
14
- intf = gr.Interface(fn=classificador, inputs = imatge, outputs = label)
15
- intf.launch(inline=False)