Spaces:
Sleeping
Sleeping
Commit
·
6db61bc
1
Parent(s):
f58f16f
Update app.py
Browse files
app.py
CHANGED
@@ -4,5 +4,5 @@ import json
|
|
4 |
def predict_alexnet(image):
|
5 |
return {"benigno": 0.2, "maligno": 0.1, "normal": 0.7}
|
6 |
|
7 |
-
iface = gr.Interface(fn=predict_alexnet, inputs="image", outputs=
|
8 |
iface.launch(share=True)
|
|
|
4 |
def predict_alexnet(image):
|
5 |
return {"benigno": 0.2, "maligno": 0.1, "normal": 0.7}
|
6 |
|
7 |
+
iface = gr.Interface(fn=predict_alexnet, inputs="image", outputs="label")
|
8 |
iface.launch(share=True)
|