neerajkalyank commited on
Commit
3c5e31c
1 Parent(s): 2109585

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,11 +51,11 @@ 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", placeholder="Enter Age")
55
- phone = gr.Number(label="Phone Number", value=None, elem_id="phone_field", placeholder="Enter Phone number")
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", placeholder="Enter Pincode")
59
  register_button = gr.Button("Register Patient")
60
  registration_output = gr.Textbox(label="Registration Output")
61
 
 
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")
59
  register_button = gr.Button("Register Patient")
60
  registration_output = gr.Textbox(label="Registration Output")
61