Spaces:
Runtime error
Runtime error
add legend
Browse files
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")
|