Spaces:
Runtime error
Runtime error
jkasa
Browse files
app.py
CHANGED
|
@@ -21,20 +21,7 @@ def predict(img):
|
|
| 21 |
pred, idx, probs = learn.predict(img)
|
| 22 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 23 |
|
| 24 |
-
|
| 25 |
-
custom_css = """
|
| 26 |
-
button {
|
| 27 |
-
background-color: #00fbb9;
|
| 28 |
-
color: #333;
|
| 29 |
-
border: none;
|
| 30 |
-
padding: 10px 20px;
|
| 31 |
-
border-radius: 5px;
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
button:hover {
|
| 35 |
-
background-color: #00d6a7;
|
| 36 |
-
}
|
| 37 |
-
"""
|
| 38 |
|
| 39 |
# Interface parameters
|
| 40 |
title = "Ethiopia TB Detection"
|
|
|
|
| 21 |
pred, idx, probs = learn.predict(img)
|
| 22 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 23 |
|
| 24 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Interface parameters
|
| 27 |
title = "Ethiopia TB Detection"
|