Commit ·
b77d0c4
1
Parent(s): 4cc61f9
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,24 +65,23 @@ with gr.Blocks(title=title) as demo:
|
|
| 65 |
chol = gr.Number(label="chol Score", info=" cholestoral in mg/dl fetched via BMI sensor" )
|
| 66 |
|
| 67 |
|
| 68 |
-
with gr.Row():
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
)
|
| 85 |
-
with gr.Column():
|
| 86 |
fbs = gr.Dropdown(label="fbs", choices=["Yes", "No"], type="index", info="Fasting blood sugar > 120 mg/dl (1 = true; 0 = false)")
|
| 87 |
|
| 88 |
with gr.Row():
|
|
|
|
| 65 |
chol = gr.Number(label="chol Score", info=" cholestoral in mg/dl fetched via BMI sensor" )
|
| 66 |
|
| 67 |
|
| 68 |
+
with gr.Row():
|
| 69 |
+
with gr.Column():
|
| 70 |
+
restecg = gr.Dropdown(
|
| 71 |
+
choices=["1", "2", "3", "4"],
|
| 72 |
+
type = "index",
|
| 73 |
+
label='restecg Score:'
|
| 74 |
+
)
|
| 75 |
+
with gr.Column():
|
| 76 |
+
thalachh = gr.ColorPicker(
|
| 77 |
+
label='thalachh Score:',
|
| 78 |
+
value='#ff0000'
|
| 79 |
+
)
|
| 80 |
+
with gr.Column():
|
| 81 |
+
exng = gr.Dropdown(
|
| 82 |
+
label="exng Score",
|
| 83 |
+
choices=["1", "2", "3", "4"], type="index")
|
| 84 |
+
with gr.Column():
|
|
|
|
| 85 |
fbs = gr.Dropdown(label="fbs", choices=["Yes", "No"], type="index", info="Fasting blood sugar > 120 mg/dl (1 = true; 0 = false)")
|
| 86 |
|
| 87 |
with gr.Row():
|