Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"):
|