saad177 commited on
Commit
fb95dc6
1 Parent(s): 221622c

add legend

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -45,7 +45,8 @@ with gr.Blocks() as demo:
45
  label="if you already know that you have diabetes, select yes, else select no",
46
  )
47
  gr.Checkbox(
48
- info="I consent that my personal data can be used to retrain the model"
 
49
  )
50
  btn = gr.Button("Submit")
51
  with gr.Column():
@@ -90,7 +91,7 @@ with gr.Blocks() as demo:
90
  color="r",
91
  alpha=0.7,
92
  )
93
-
94
  ax.set_xlabel("Variables")
95
  ax.set_ylabel("Values")
96
  ax.set_title("Comparison with Mean values for your age")
 
45
  label="if you already know that you have diabetes, select yes, else select no",
46
  )
47
  gr.Checkbox(
48
+ info="I consent that my personal data can be used to retrain the model",
49
+ label="accept",
50
  )
51
  btn = gr.Button("Submit")
52
  with gr.Column():
 
91
  color="r",
92
  alpha=0.7,
93
  )
94
+ ax.legend()
95
  ax.set_xlabel("Variables")
96
  ax.set_ylabel("Values")
97
  ax.set_title("Comparison with Mean values for your age")