yougandar commited on
Commit
7ee48ee
·
verified ·
1 Parent(s): 589ee52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,9 +34,9 @@ def register_patient(name, age, phone):
34
  with gr.Blocks() as demo:
35
  gr.Markdown("## Patient Registration")
36
  with gr.Row():
37
- patient_name = gr.Textbox(label="Patient Name")
38
- age = gr.Number(label="Age", precision=0)
39
- phone_number = gr.Textbox(label="Phone Number")
40
  register_button = gr.Button("Register")
41
  status = gr.Textbox(label="Status", interactive=False)
42
 
 
34
  with gr.Blocks() as demo:
35
  gr.Markdown("## Patient Registration")
36
  with gr.Row():
37
+ patient_name = gr.Textbox(label="Patient Name", placeholder="Enter patient name")
38
+ age = gr.Number(label="Age", precision=0, placeholder="Enter age")
39
+ phone_number = gr.Textbox(label="Phone Number", placeholder="Enter phone number")
40
  register_button = gr.Button("Register")
41
  status = gr.Textbox(label="Status", interactive=False)
42