Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,3 @@
|
|
| 1 |
-
# -*- coding: utf-8 -*-
|
| 2 |
-
"""app.ipynb
|
| 3 |
-
|
| 4 |
-
Automatically generated by Colaboratory.
|
| 5 |
-
|
| 6 |
-
Original file is located at
|
| 7 |
-
https://colab.research.google.com/drive/1wBXKa6BYIgr42zBNgmQCoaWlY-jwMxZg
|
| 8 |
-
"""
|
| 9 |
-
|
| 10 |
import joblib
|
| 11 |
import pandas as pd
|
| 12 |
import streamlit as st
|
|
@@ -33,7 +24,7 @@ def main():
|
|
| 33 |
hypertension = 1
|
| 34 |
else:
|
| 35 |
st.write("You selected doesn't have Hypertension.")
|
| 36 |
-
|
| 37 |
|
| 38 |
heart_disease = st.radio("Heart Disease", ('Have Heart Disease', "Doesn't Have Heart Disease",))
|
| 39 |
if heart_disease == 'Have Heart Disease':
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import joblib
|
| 2 |
import pandas as pd
|
| 3 |
import streamlit as st
|
|
|
|
| 24 |
hypertension = 1
|
| 25 |
else:
|
| 26 |
st.write("You selected doesn't have Hypertension.")
|
| 27 |
+
hypertension = 0
|
| 28 |
|
| 29 |
heart_disease = st.radio("Heart Disease", ('Have Heart Disease', "Doesn't Have Heart Disease",))
|
| 30 |
if heart_disease == 'Have Heart Disease':
|