Louis VAUBOURDOLLE
commited on
Commit
·
a505967
1
Parent(s):
d2971cb
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ def analyse(image):
|
|
11 |
predict = model.predict(data)[0]
|
12 |
return classes[np.argmax(predict)]
|
13 |
|
14 |
-
iface =
|
15 |
analyse,
|
16 |
-
|
17 |
"text",
|
18 |
examples=[
|
19 |
'Dataset/Non_Demented/non.jpg',
|
|
|
11 |
predict = model.predict(data)[0]
|
12 |
return classes[np.argmax(predict)]
|
13 |
|
14 |
+
iface = gr.Interface(
|
15 |
analyse,
|
16 |
+
gr.inputs.Image(shape=(128,128)),
|
17 |
"text",
|
18 |
examples=[
|
19 |
'Dataset/Non_Demented/non.jpg',
|