FranciscoLozDataScience commited on
Commit
ac3a0cf
·
1 Parent(s): 0cec160

forgot to delete an input

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,6 +34,7 @@ def load_interface():
34
  """)
35
 
36
  #set inputs
 
37
  age = gr.Number(label="Age", precision=0, minimum=0)
38
  height = gr.Number(label="Height(cm)", precision=0, minimum=0)
39
  weight = gr.Number(label="Weight(kg)", precision=0, minimum=0)
@@ -64,7 +65,7 @@ def load_interface():
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]
 
34
  """)
35
 
36
  #set inputs
37
+ #TODO: add inputs in rows, to reduce screen real estate (right now each component is one row)
38
  age = gr.Number(label="Age", precision=0, minimum=0)
39
  height = gr.Number(label="Height(cm)", precision=0, minimum=0)
40
  weight = gr.Number(label="Weight(kg)", precision=0, minimum=0)
 
65
 
66
  #set label txt box
67
  #TODO: change to gr.Label()?
68
+ smoker_label = gr.Label(label="Predicted Label")
69
 
70
  #set event listeners
71
  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]