Undi95 commited on
Commit
6597e2e
·
verified ·
1 Parent(s): 3355090

Upload JVCGPT.html

Browse files
Files changed (1) hide show
  1. JVCGPT.html +1 -1
JVCGPT.html CHANGED
@@ -148,7 +148,7 @@
148
  let topicTitleSet = false; // Ensure the topic title is set only once
149
 
150
  blocks.forEach(block => {
151
- if (!topicTitleSet && block.includes('<|start_header_id|><|khey|><|end_header_id|>')) {
152
  const titleMatch = block.match(/Sujet : "(.*?)"/);
153
  if (titleMatch) {
154
  document.getElementById('topic-title').textContent = titleMatch[1];
 
148
  let topicTitleSet = false; // Ensure the topic title is set only once
149
 
150
  blocks.forEach(block => {
151
+ if (!topicTitleSet && block.includes('<|start_header_id|><|sujet|><|end_header_id|>')) {
152
  const titleMatch = block.match(/Sujet : "(.*?)"/);
153
  if (titleMatch) {
154
  document.getElementById('topic-title').textContent = titleMatch[1];