Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -365,7 +365,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Clinic Patient Portal") as demo:
|
|
| 365 |
gr.Markdown("**Book an Appointment**")
|
| 366 |
doctors = ["Dr. Smith", "Dr. Jones", "Dr. Patel"] # Mock doctor list
|
| 367 |
doctor_input = gr.Dropdown(doctors, label="Select Doctor", value=doctors[0])
|
| 368 |
-
date_input = gr.
|
| 369 |
time_slots = ["09:00", "10:00", "11:00", "14:00", "15:00", "16:00"] # Mock slots
|
| 370 |
time_input = gr.Dropdown(time_slots, label="Select Time Slot", value=time_slots[0])
|
| 371 |
appt_button = gr.Button("Schedule Appointment")
|
|
|
|
| 365 |
gr.Markdown("**Book an Appointment**")
|
| 366 |
doctors = ["Dr. Smith", "Dr. Jones", "Dr. Patel"] # Mock doctor list
|
| 367 |
doctor_input = gr.Dropdown(doctors, label="Select Doctor", value=doctors[0])
|
| 368 |
+
date_input = gr.Textbox(label="Select Date (YYYY-MM-DD)", value=date.today().isoformat(), placeholder="YYYY-MM-DD")
|
| 369 |
time_slots = ["09:00", "10:00", "11:00", "14:00", "15:00", "16:00"] # Mock slots
|
| 370 |
time_input = gr.Dropdown(time_slots, label="Select Time Slot", value=time_slots[0])
|
| 371 |
appt_button = gr.Button("Schedule Appointment")
|