Commit
·
0cec160
1
Parent(s):
0578453
switched to label component
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def load_interface():
|
|
64 |
|
65 |
#set label txt box
|
66 |
#TODO: change to gr.Label()?
|
67 |
-
smoker_label = gr.
|
68 |
|
69 |
#set event listeners
|
70 |
inputs = [age, height, weight, waist, eye_L, eye_R, hear_L, hear_R, systolic, relaxation, fasting_blood_sugar, cholesterol, triglyceride, HDL, LDL, hemoglobin, urine_protein, serum_creatinine, AST, ALT, Gtp, dental_caries]
|
|
|
64 |
|
65 |
#set label txt box
|
66 |
#TODO: change to gr.Label()?
|
67 |
+
smoker_label = gr.Label(label="Predicted Label", max_lines=1)
|
68 |
|
69 |
#set event listeners
|
70 |
inputs = [age, height, weight, waist, eye_L, eye_R, hear_L, hear_R, systolic, relaxation, fasting_blood_sugar, cholesterol, triglyceride, HDL, LDL, hemoglobin, urine_protein, serum_creatinine, AST, ALT, Gtp, dental_caries]
|