Update app.py
Browse files
app.py
CHANGED
|
@@ -43,12 +43,12 @@ def predict_score(lat, lon):
|
|
| 43 |
score = (1 * np.abs(mu_pred + 0.1)) * 100
|
| 44 |
|
| 45 |
# You can apply any post-processing here
|
| 46 |
-
return
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
# "Normal Score": round(float(normal_score), 3),
|
| 51 |
-
|
| 52 |
|
| 53 |
# ======== Gradio Interface ========
|
| 54 |
interface = gr.Interface(
|
|
|
|
| 43 |
score = (1 * np.abs(mu_pred + 0.1)) * 100
|
| 44 |
|
| 45 |
# You can apply any post-processing here
|
| 46 |
+
return (
|
| 47 |
+
round(float(score), 3),
|
| 48 |
+
num_banks,
|
| 49 |
+
round(float(mu_pred), 3),
|
| 50 |
# "Normal Score": round(float(normal_score), 3),
|
| 51 |
+
)
|
| 52 |
|
| 53 |
# ======== Gradio Interface ========
|
| 54 |
interface = gr.Interface(
|