Upload JVCGPT.html
Browse files- 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|><|
|
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];
|