neerajkalyank commited on
Commit
e4f1fda
·
verified ·
1 Parent(s): 5d39c43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,8 +51,8 @@ with gr.Blocks() as app:
51
  name = gr.Textbox(label="Patient Name", placeholder="Enter patient name", elem_id="name_field", lines=1)
52
  father_name = gr.Textbox(label="Father/Husband Name", placeholder="Enter father or husband name", elem_id="father_name_field", lines=1)
53
  with gr.Row():
54
- age = gr.Number(label="Age", value=None, minimum=0, maximum=99, elem_id="age_field", precision=)
55
- phone = gr.Number(label="Phone Number", value=None, elem_id="phone_field", precision=)
56
  with gr.Row():
57
  address = gr.Textbox(label="Address", placeholder="Enter address", lines=2)
58
  pincode = gr.Number(label="Pincode", value=None, elem_id="pincode_field", precision=0)
 
51
  name = gr.Textbox(label="Patient Name", placeholder="Enter patient name", elem_id="name_field", lines=1)
52
  father_name = gr.Textbox(label="Father/Husband Name", placeholder="Enter father or husband name", elem_id="father_name_field", lines=1)
53
  with gr.Row():
54
+ age = gr.Number(label="Age", value=None, minimum=0, maximum=99, elem_id="age_field")
55
+ phone = gr.Number(label="Phone Number", value=None, elem_id="phone_field")
56
  with gr.Row():
57
  address = gr.Textbox(label="Address", placeholder="Enter address", lines=2)
58
  pincode = gr.Number(label="Pincode", value=None, elem_id="pincode_field", precision=0)