Spaces:
Running
Running
Satyam-Singh
commited on
Update index.html
Browse files- index.html +3 -0
index.html
CHANGED
@@ -83,6 +83,9 @@
|
|
83 |
// Hide the permission button and show the iframe
|
84 |
document.getElementById('requestPermissionBtn').style.display = 'none';
|
85 |
document.getElementById('deepgramIframe').style.display = 'block';
|
|
|
|
|
|
|
86 |
})
|
87 |
.catch(function(error) {
|
88 |
console.error('Microphone access denied or failed:', error);
|
|
|
83 |
// Hide the permission button and show the iframe
|
84 |
document.getElementById('requestPermissionBtn').style.display = 'none';
|
85 |
document.getElementById('deepgramIframe').style.display = 'block';
|
86 |
+
|
87 |
+
// Optionally: You may also want to pass the microphone stream directly to the iframe or API.
|
88 |
+
// For now, Deepgram's iframe automatically tries to use the microphone.
|
89 |
})
|
90 |
.catch(function(error) {
|
91 |
console.error('Microphone access denied or failed:', error);
|