awacke1 commited on
Commit
5cfd8e5
Β·
verified Β·
1 Parent(s): bef27b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -84,7 +84,7 @@ def process_files(specialty_codes, specific_state='MN'):
84
  file_to_process = f'./{specific_state}.csv' if use_specific_state else state_files
85
 
86
  for file in [file_to_process] if use_specific_state else state_files:
87
- state_df = pd.read_csv(file, header=None, names=headers) # Assuming no header for simplicity
88
  #state_df = pd.read_csv(file, header=0) # Assuming no header for simplicity
89
 
90
  for code in specialty_codes:
@@ -111,16 +111,3 @@ if st.button('Analyze Text Files for Selected Specialty πŸ”'):
111
  else:
112
  st.write("No matching records found in text files for the selected specialties.")
113
 
114
-
115
- if st.expander(label='🩺 Understand Provider Specialties πŸ“', expanded=False):
116
- st.markdown('''
117
- ## Discover Care Providers by Specialty & Location: Quick Guide
118
- - **Code**: Unique ID identifies each specialty clearly. πŸ†”
119
- - **Grouping**: Broad category umbrella for general expertise area. 🏷️
120
- - **Classification**: Specifies type of practice within broader category. 🎯
121
- - **Specialization**: Details focus within classification for precise expertise. πŸ”
122
- - **Definition**: Concise overview of the specialty's scope. πŸ“–
123
- - **Notes**: Extra information or recent updates provided. πŸ—’οΈ
124
- - **Display Name**: Commonly recognized name of the specialty. 🏷️
125
- - **Section**: Healthcare segment the specialty belongs to. πŸ“š
126
- ''')
 
84
  file_to_process = f'./{specific_state}.csv' if use_specific_state else state_files
85
 
86
  for file in [file_to_process] if use_specific_state else state_files:
87
+ state_df = pd.read_csv(file, header=0, names=headers) # Assuming no header for simplicity
88
  #state_df = pd.read_csv(file, header=0) # Assuming no header for simplicity
89
 
90
  for code in specialty_codes:
 
111
  else:
112
  st.write("No matching records found in text files for the selected specialties.")
113