Skip to content

Commit

Permalink
feat: customize logos and sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray committed Dec 27, 2023
1 parent b3d941c commit ad42ba7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion neon_iris/static/scripts/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const WebSocketHandler = (() => {
let lastActivationTime = 0;
const activationCooldown = 3000; // 3 seconds cooldown
const ws = new WebSocket(WS_URL);
const audio = new Audio("/static/wake.mp3"); // Wakeword acknowledgment sound
const audio = new Audio("/static/custom/wake.mp3"); // Wakeword acknowledgment sound

ws.onopen = () => {
console.info("WebSocket connection is open");
Expand Down
4 changes: 2 additions & 2 deletions neon_iris/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="/static/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/static/custom/favicon.ico" type="image/x-icon" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ title }}</title>
Expand All @@ -11,7 +11,7 @@
<body>
<div class="chat-container">
<div class="chat-header">
{{ description }} <img src="/static/logo.webp" class="logo" />
{{ description }} <img src="/static/custom/logo.webp" class="logo" />
</div>
<button id="startButton">Start Recording</button>
<div class="chat-window" id="chatWindow">
Expand Down

0 comments on commit ad42ba7

Please sign in to comment.