Spaces:
Sleeping
Sleeping
Commit
·
05e5b9d
1
Parent(s):
43fe492
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,13 +43,8 @@ def app_design():
|
|
| 43 |
# Make a prediction when the user clicks the "Predict" button
|
| 44 |
if st.button('Predict Crime'):
|
| 45 |
predicted_value = model_prediction(model, features)
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
act279 = predicted_value[2]
|
| 49 |
-
act323 = predicted_value[3]
|
| 50 |
-
act363 = predicted_value[4]
|
| 51 |
-
act302 = predicted_value[5]
|
| 52 |
-
st.success(f"The Crime analysis is: ct 379 percentage at our place: {act379}, Act 13 percentage at our place: {act13}, Act 279 percentage at our place: {act279}, Act 323 percentage at our place: {act323}, Act 363 percentage at our place: {act363}, Act 302 percentage at our place: {act302}")
|
| 53 |
|
| 54 |
|
| 55 |
def about_hidevs():
|
|
|
|
| 43 |
# Make a prediction when the user clicks the "Predict" button
|
| 44 |
if st.button('Predict Crime'):
|
| 45 |
predicted_value = model_prediction(model, features)
|
| 46 |
+
|
| 47 |
+
st.success(f"The Crime analysis is: {predicted_value}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
def about_hidevs():
|