Zakia commited on
Commit
0bde113
1 Parent(s): c4a62fe

removed value= in dropdown of gender

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,5 +13,5 @@ title = "DIabetes-related Amputation Risk Calculator (DIARC)"
13
  description = "A diabetes-related amputation machine learning model trained on the diabetes dataset from the Inkosi Albert Luthuli Central Hospital (IALCH), KwaZulu-Natal, South Africa."
14
 
15
 
16
- iface = gr.Interface(fn=greet, title=title, description=description, inputs=[gr.inputs.Number(default=None, label=None), gr.inputs.Dropdown(["Female", "Male"], type="value", default="Male"), gr.inputs.Textbox(placeholder="Race Here..."), gr.inputs.Textbox(placeholder="Diabetes Type Here...")], outputs="text", theme="darkdefault")
17
  iface.launch()
 
13
  description = "A diabetes-related amputation machine learning model trained on the diabetes dataset from the Inkosi Albert Luthuli Central Hospital (IALCH), KwaZulu-Natal, South Africa."
14
 
15
 
16
+ iface = gr.Interface(fn=greet, title=title, description=description, inputs=[gr.inputs.Number(default=None, label=None), gr.inputs.Dropdown(["Female", "Male"], default="Male"), gr.inputs.Textbox(placeholder="Race Here..."), gr.inputs.Textbox(placeholder="Diabetes Type Here...")], outputs="text", theme="darkdefault")
17
  iface.launch()