BtB-ExpC commited on
Commit
94d73b2
·
verified ·
1 Parent(s): 68ed3a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ def chunk_HTMLs(text, delimiter="HTML (ID:"):
21
  if end_id_index != -1:
22
  html_id = html[:end_id_index].strip()
23
  html_content = html[end_id_index+1:].strip()
24
- full_html_id = "HTML: (ID:" + html_id + ")"
25
- html_dict[full_html_id] = delimiter + "HTML (ID:" + html_id + ") " + html_content
26
  return html_dict
27
 
28
  def process_course(input_text, term_zorgvrager="cliënt", term_zorgprofessional="begeleider"):
 
21
  if end_id_index != -1:
22
  html_id = html[:end_id_index].strip()
23
  html_content = html[end_id_index+1:].strip()
24
+ full_html_id = "HTML: (ID: " + html_id + ")"
25
+ html_dict[full_html_id] = delimiter + "HTML (ID: " + html_id + ") " + html_content
26
  return html_dict
27
 
28
  def process_course(input_text, term_zorgvrager="cliënt", term_zorgprofessional="begeleider"):