Spaces:
Sleeping
Sleeping
Commit
·
063aec7
1
Parent(s):
dd6f9f0
code
Browse files- index.html +1 -1
- requirements.txt +1 -1
index.html
CHANGED
@@ -356,6 +356,7 @@
|
|
356 |
|
357 |
const offer = await peerConnection.createOffer();
|
358 |
await peerConnection.setLocalDescription(offer);
|
|
|
359 |
|
360 |
peerConnection.onicecandidate = ({ candidate }) => {
|
361 |
if (candidate) {
|
@@ -382,7 +383,6 @@
|
|
382 |
updateButtonState();
|
383 |
});
|
384 |
|
385 |
-
webrtc_id = Math.random().toString(36).substring(7);
|
386 |
|
387 |
const response = await fetch('/webrtc/offer', {
|
388 |
method: 'POST',
|
|
|
356 |
|
357 |
const offer = await peerConnection.createOffer();
|
358 |
await peerConnection.setLocalDescription(offer);
|
359 |
+
webrtc_id = Math.random().toString(36).substring(7);
|
360 |
|
361 |
peerConnection.onicecandidate = ({ candidate }) => {
|
362 |
if (candidate) {
|
|
|
383 |
updateButtonState();
|
384 |
});
|
385 |
|
|
|
386 |
|
387 |
const response = await fetch('/webrtc/offer', {
|
388 |
method: 'POST',
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
fastrtc[vad,stt]@https://huggingface.co/datasets/freddyaboulton/bucket/resolve/main/wheels/fastrtc/fastrtc-0.0.
|
2 |
python-dotenv
|
3 |
huggingface_hub>=0.29.0
|
4 |
twilio
|
|
|
1 |
+
fastrtc[vad,stt]@https://huggingface.co/datasets/freddyaboulton/bucket/resolve/main/wheels/fastrtc/fastrtc-0.0.17rc3-py3-none-any.whl
|
2 |
python-dotenv
|
3 |
huggingface_hub>=0.29.0
|
4 |
twilio
|