AbeerTrial commited on
Commit
078381a
·
1 Parent(s): e134d86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -165,7 +165,8 @@ def chatbot(input_text, input_voice, patient_name=None):
165
  with open(patient_file_path, "a") as f:
166
  f.write(f"Subjective: {subjective}\nObjective: {objective}\nAssessment: {assessment}\nPlan: {plan}\n\n")
167
 
168
- output = [f"\u2022 Subjective: {subjective}\n\u2022 Objective: {objective}\n\u2022 Assessment: {assessment}\n\u2022 Plan: {plan}", ""]
 
169
  else:
170
  with open(patient_file_path, "a" , encoding='utf-8') as f:
171
  f.write(f"General: {soap_response}\n\n")
 
165
  with open(patient_file_path, "a") as f:
166
  f.write(f"Subjective: {subjective}\nObjective: {objective}\nAssessment: {assessment}\nPlan: {plan}\n\n")
167
 
168
+ output = [f"\n\n\u2022 Subjective: {subjective}\n\n\u2022 Objective: {objective}\n\n\u2022 Assessment: {assessment}\n\n\u2022 Plan: {plan}", ""]
169
+
170
  else:
171
  with open(patient_file_path, "a" , encoding='utf-8') as f:
172
  f.write(f"General: {soap_response}\n\n")