Made textboxes uninteractive
Browse files
app.py
CHANGED
@@ -324,10 +324,10 @@ with gr.Blocks(css=".gradio-container {height: 100vh; width: 100vw; overflow: hi
|
|
324 |
label="Select Patient",
|
325 |
allow_custom_value=False
|
326 |
)
|
327 |
-
patient_name = gr.Textbox(label="Name", placeholder="e.g., John Doe")
|
328 |
-
patient_age = gr.Textbox(label="Age", placeholder="e.g., 45")
|
329 |
-
patient_id = gr.Textbox(label="Patient ID", placeholder="e.g., 123456")
|
330 |
-
patient_notes = gr.Textbox(label="Clinical Notes", lines=10)
|
331 |
|
332 |
# Chat
|
333 |
with gr.Column(scale=2):
|
|
|
324 |
label="Select Patient",
|
325 |
allow_custom_value=False
|
326 |
)
|
327 |
+
patient_name = gr.Textbox(label="Name", placeholder="e.g., John Doe", interactive=False)
|
328 |
+
patient_age = gr.Textbox(label="Age", placeholder="e.g., 45", interactive=False)
|
329 |
+
patient_id = gr.Textbox(label="Patient ID", placeholder="e.g., 123456", interactive=False)
|
330 |
+
patient_notes = gr.Textbox(label="Clinical Notes", lines=10, interactive=False)
|
331 |
|
332 |
# Chat
|
333 |
with gr.Column(scale=2):
|