Zakia commited on
Commit
5ad04f6
1 Parent(s): 8a15738

change labels to be initcap

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ iface = gr.Interface(
18
  fn=predict_amputation,
19
  title=title,
20
  description=description,
21
- inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, label="AGE"), gr.inputs.Dropdown(["Female", "Male"], default="Male", label="GENDER"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="RACE"), gr.inputs.Dropdown(["1", "2"], default="1", label="DIABETES TYPE")],
22
  outputs="text",
23
  #theme="darkdefault",
24
  examples=[
 
18
  fn=predict_amputation,
19
  title=title,
20
  description=description,
21
+ inputs=[gr.inputs.Slider(minimum=0,maximum=100, step=1, label="Age"), gr.inputs.Dropdown(["Female", "Male"], default="Male", label="Gender"), gr.inputs.Dropdown(["Asian", "Black", "Coloured", "White", "Other"], default="Asian", label="Race"), gr.inputs.Dropdown(["1", "2"], default="1", label="Diabetes Type")],
22
  outputs="text",
23
  #theme="darkdefault",
24
  examples=[