-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
87 lines (77 loc) · 2.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Deepgram Voice Agent API Sample</title>
<link rel="stylesheet" href="./css/styles.css">
<script src="./js/config.js"></script>
<script src="./js/service.js"></script>
<script src="./js/animation.js"></script>
<script src="./js/audio.js"></script>
<script src="./js/main.js"></script>
</head>
<body>
<div class="animation center-div">
<canvas id="blobCanvas" width="700" height="700" style="display: none;"></canvas>
</div>
<div class="center-div" id="startContainer">
<label>Model</label></br>
<select id="model">
<option selected value="groq+llama3-70b-8192">Groq: Llama 3 70b</option>
<option value="groq+llama3-8b-8192">Groq: Llama 3 8b</option>
<option value="groq+mixtral-8x7b-32768">Groq: Mixtral 8x7b</option>
</select>
</br>
<label>Voice</label></br>
<select id="voice">
<option value="aura-athena-en" selected>Athena</option>
<option value="aura-asteria-en">Asteria</option>
<option value="aura-luna-en">luna</option>
<option value="aura-stella-en">stella</option>
<option value="aura-hera-en">hera</option>
<option value="aura-orion-en">orion</option>
<option value="aura-arcas-en">arcas</option>
<option value="aura-perseus-en">perseus</option>
<option value="aura-angus-en">angus</option>
<option value="aura-orpheus-en">orpheus</option>
<option value="aura-helios-en">helios</option>
<option value="aura-zeus-en">zeus</option>
</select>
</br>
<button id="startConversationBtn" disabled>Loading...</button>
</div>
<div class="center-div" id="instructionsContainer" style="display: none;">
<textarea id="instructionsInput" placeholder="Enter instructions here..."></textarea>
<br>
<button id="updateInstructionsBtn">Update Instructions</button>
</div>
<div class="center-div" id="buttonContainer" style="display: none;">
<div class="circle-button" id="aura-athena-en">
<div class="button-title">Athena</div>
</div>
<div class="circle-button" id="aura-angus-en">
<div class="button-title">Angus</div>
</div>
</div>
<div class="center-div" id="orderContainer">
<div>
<h2>
Your order
</h2>
<div>
<ul id="orderItems" className="no-bullets"></ul>
</div>
<div>
<div class="total">Total</div>
<div id="orderTotal">$0</div>
</div>
</div>
</div>
<div class="menu">
<h1>Menu Items</h1>
<div id="items"></div>
</div>
</body>
</html>