awacke1 commited on
Commit
aab0b0a
·
1 Parent(s): 5c117ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -298,6 +298,7 @@ def generate_follow_up_appointment_letters_ui():
298
  # Run the Streamlit UI function
299
  generate_follow_up_appointment_letters_ui()
300
 
 
301
  def generate_health_education_letters_ui():
302
  st.title("🍎 Health Education Letters")
303
 
@@ -323,8 +324,33 @@ def generate_health_education_letters_ui():
323
 
324
  # Username field with an emoji
325
  username = st.text_input("👤 Username")
 
 
 
 
 
 
 
 
 
 
 
 
326
 
 
 
 
 
 
 
 
327
 
 
 
 
 
 
 
328
 
329
 
330
  def generate_letter_grid_ui():
 
298
  # Run the Streamlit UI function
299
  generate_follow_up_appointment_letters_ui()
300
 
301
+
302
  def generate_health_education_letters_ui():
303
  st.title("🍎 Health Education Letters")
304
 
 
324
 
325
  # Username field with an emoji
326
  username = st.text_input("👤 Username")
327
+
328
+
329
+ def generate_disability_support_letters_ui():
330
+ st.title("♿ Disability Support Letters")
331
+
332
+ # Search-style text box
333
+ search_query = st.text_input("Search Disability Support Letters")
334
+
335
+ # Buttons with emojis and boldface text
336
+ st.button("📝 **First**")
337
+ st.button("📝 **Middle**")
338
+ st.button("📝 **Last**")
339
 
340
+ # Text areas with default values based on letter examples
341
+ first_default = "The purpose of this letter is to validate Mr. Williams’ disability so that he can receive disability benefits\n" \
342
+ "The purpose of this letter is to document Ms. Radcliff’s disability to request special accommodations at work"
343
+ middle_default = "Detail the patient’s physical or cognitive condition and how it affects their daily life\n" \
344
+ "Explain the cause of the patient’s condition and duration of symptoms"
345
+ last_default = "Outline the assistive equipment or technology necessary for the patient\n" \
346
+ "Describe the special consideration or modifications required"
347
 
348
+ first_text = st.text_area("First: State the purpose of the letter", value=first_default, max_chars=None, height=None)
349
+ middle_text = st.text_area("Middle: Explain the patient’s condition", value=middle_default, max_chars=None, height=None)
350
+ last_text = st.text_area("Last: List any necessary accommodations", value=last_default, max_chars=None, height=None)
351
+
352
+ # Username field with an emoji
353
+ username = st.text_input("👤 Username")
354
 
355
 
356
  def generate_letter_grid_ui():