Skip to content

Commit 409b721

Browse files
Update main.py
The radio button has been removed from the login process. Previously, user type determination relied on checking a specific sheet. Now, both patients and doctors will share a common sheet called "users." The program will search this shared sheet to identify the user type, which helps prevent misuse.
1 parent 530e16f commit 409b721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Code and databse/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ def show_patient_dashboard():
169169
img_label.image = img # Keep a reference to avoid garbage collection
170170
img_label.pack(pady=10)
171171

172-
ttk.Label(frame, text='Enter Diagnoses (comma-separated):').pack(pady=5)
172+
ttk.Label(frame, text='Enter Symptoms (comma-separated):').pack(pady=5)
173173
diagnosis_entry = ttk.Entry(frame)
174174
diagnosis_entry.pack(pady=5)
175175

176-
submit_btn = ttk.Button(frame, text='Submit Diagnosis', command=lambda: submit_diagnosis(diagnosis_entry))
176+
submit_btn = ttk.Button(frame, text='Submit Symptoms', command=lambda: submit_diagnosis(diagnosis_entry))
177177
submit_btn.pack(pady=10, anchor='s') # Anchor the button to the bottom
178178

179179
results_frame = ttk.Frame(frame)

0 commit comments

Comments
 (0)