[groq] Research: NotebookLM — create audio overview of SOUL.md as podcast (#293) (#368)
Some checks failed
Deploy Nexus / deploy (push) Failing after 6s
Some checks failed
Deploy Nexus / deploy (push) Failing after 6s
This commit was merged in pull request #368.
This commit is contained in:
4
app.js
4
app.js
@@ -2732,6 +2732,10 @@ document.getElementById('podcast-toggle').addEventListener('click', () => {
|
||||
utterance.lang = 'en-US';
|
||||
utterance.rate = 0.9;
|
||||
utterance.pitch = 0.9;
|
||||
utterance.onend = () => {
|
||||
document.getElementById('podcast-toggle').disabled = false;
|
||||
};
|
||||
document.getElementById('podcast-toggle').disabled = true;
|
||||
speechSynthesis.speak(utterance);
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
<button id="export-session" class="chat-toggle-btn" aria-label="Export session as markdown" title="Export session log as Markdown">
|
||||
📥
|
||||
</button>
|
||||
<button id="podcast-toggle" class="chat-toggle-btn" aria-label="Start podcast of SOUL.md" title="Play SOUL.md as audio">
|
||||
🎧
|
||||
</button>
|
||||
<button id="podcast-toggle" class="chat-toggle-btn" aria-label="Start podcast of SOUL.md" title="Play SOUL.md as audio podcast">
|
||||
🎧
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user