Revert "fix: use original page content for title generation instead of processed TTS content"
This reverts commit b178e039b2.
This commit is contained in:
parent
b178e039b2
commit
b49e52678b
1 changed files with 2 additions and 3 deletions
|
|
@ -42,9 +42,8 @@ export async function readPageWithHermes() {
|
|||
downloadButton.onclick = async () => {
|
||||
try {
|
||||
const { generateTitleForTTS } = await import("./tts.js");
|
||||
// Use original content for title generation, not the processed TTS content
|
||||
console.log("Generating title for Read Page using original content:", content.substring(0, 200) + "...");
|
||||
const filename = await generateTitleForTTS(content);
|
||||
console.log("Generating title for Read Page content:", processedContent.substring(0, 200) + "...");
|
||||
const filename = await generateTitleForTTS(processedContent);
|
||||
console.log("Generated filename:", filename);
|
||||
const a = document.createElement("a");
|
||||
a.href = URL.createObjectURL(blob);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue