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