adeledududu
commited on
Commit
·
0af6cee
1
Parent(s):
a24e56d
Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ with gr.Blocks(title=title) as demo:
|
|
55 |
cp = gr.inputs.Dropdown(["typical", "atypical", "other", "asymptomatic"], label="Chest pain type")
|
56 |
|
57 |
with gr.Column():
|
58 |
-
trtbps = gr.inputs.Slider(
|
59 |
-
chol = gr.Number(label="What is your cholesterol in (mg/dl)?", value=
|
60 |
fbs = gr.Dropdown(label="Is your fasting blood sugar > 120 mg/dl?", choices = ["yes","no"], type = "index")
|
61 |
restecg = gr.Dropdown(label="What is your resting ECG result?", choices = ["normal","ST-T wave abnormality"], type = "index", value = "normal", info = "resting ESG result")
|
62 |
thall = gr.Dropdown(label="What is your Thalassemia condition?", choices = ["NULL","Fixed Defect", "Normal Blood Flow", "Reversible Defect"], type = "index", value = "NULL")
|
|
|
55 |
cp = gr.inputs.Dropdown(["typical", "atypical", "other", "asymptomatic"], label="Chest pain type")
|
56 |
|
57 |
with gr.Column():
|
58 |
+
trtbps = gr.inputs.Slider(50, 180, default=80, label="Resting blood pressure")
|
59 |
+
chol = gr.Number(label="What is your cholesterol in (mg/dl)?", value=100, info = "cholestoral in mg/dl" )
|
60 |
fbs = gr.Dropdown(label="Is your fasting blood sugar > 120 mg/dl?", choices = ["yes","no"], type = "index")
|
61 |
restecg = gr.Dropdown(label="What is your resting ECG result?", choices = ["normal","ST-T wave abnormality"], type = "index", value = "normal", info = "resting ESG result")
|
62 |
thall = gr.Dropdown(label="What is your Thalassemia condition?", choices = ["NULL","Fixed Defect", "Normal Blood Flow", "Reversible Defect"], type = "index", value = "NULL")
|