Undi95 commited on
Commit
3c82ed6
·
verified ·
1 Parent(s): 0384d0a

Upload JVCGPT.html

Browse files
Files changed (1) hide show
  1. JVCGPT.html +1 -1
JVCGPT.html CHANGED
@@ -239,7 +239,7 @@
239
 
240
  blocks.forEach(block => {
241
  if (!topicTitleSet && block.includes('<|start_header_id|><|sujet|><|end_header_id|>')) {
242
- const titleMatch = block.match(/Sujet : "(.*?)"/);
243
  if (titleMatch) {
244
  document.getElementById('topic-title').textContent = titleMatch[1];
245
  topicTitleSet = true;
 
239
 
240
  blocks.forEach(block => {
241
  if (!topicTitleSet && block.includes('<|start_header_id|><|sujet|><|end_header_id|>')) {
242
+ const titleMatch = block.match(/Sujet : ?["']?(.*?)["']?$/);
243
  if (titleMatch) {
244
  document.getElementById('topic-title').textContent = titleMatch[1];
245
  topicTitleSet = true;