Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,14 @@ feature_names = [
|
|
55 |
]
|
56 |
|
57 |
# Sample Inputs
|
58 |
-
benign_example = [
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
# --- Classification Function ---
|
62 |
def classify(model_choice, image=None, *features):
|
|
|
55 |
]
|
56 |
|
57 |
# Sample Inputs
|
58 |
+
benign_example = [9.504, 12.44, 60.34, 273.9, 0.1024, 0.06492, 0.02956, 0.02076, 0.1815, 0.06905,
|
59 |
+
0.2773, 0.9768, 1.909, 15.7, 0.009606, 0.01432, 0.01985, 0.01421, 0.02027, 0.002968,
|
60 |
+
10.23, 15.66, 65.13, 314.9, 0.1324, 0.1148, 0.08867, 0.06227, 0.245, 0.07773]
|
61 |
+
|
62 |
+
malignant_example = [11.42, 20.38, 77.58, 386.1, 0.1425, 0.2839, 0.2414, 0.1052, 0.2597, 0.09744,
|
63 |
+
0.4956, 1.156, 3.445, 27.23, 0.00911, 0.07458, 0.05661, 0.01867, 0.05963, 0.009208,
|
64 |
+
14.91, 26.5, 98.87, 567.7, 0.2098, 0.8663, 0.6869, 0.2575, 0.6638, 0.173]
|
65 |
+
|
66 |
|
67 |
# --- Classification Function ---
|
68 |
def classify(model_choice, image=None, *features):
|