Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
67cd4a2
1
Parent(s):
465ae44
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from gradio_webrtc import WebRTC, ReplyOnStopWords, AdditionalOutputs, audio_to_bytes
|
3 |
import numpy as np
|
4 |
import os
|
5 |
import base64
|
@@ -12,7 +12,7 @@ load_dotenv()
|
|
12 |
|
13 |
spinner_html = open("spinner.html").read()
|
14 |
|
15 |
-
rtc_configuration =
|
16 |
|
17 |
print("rtc_configuration", rtc_configuration)
|
18 |
|
|
|
1 |
import gradio as gr
|
2 |
+
from gradio_webrtc import WebRTC, ReplyOnStopWords, AdditionalOutputs, audio_to_bytes, get_twilio_turn_credentials
|
3 |
import numpy as np
|
4 |
import os
|
5 |
import base64
|
|
|
12 |
|
13 |
spinner_html = open("spinner.html").read()
|
14 |
|
15 |
+
rtc_configuration = get_twilio_turn_credentials()
|
16 |
|
17 |
print("rtc_configuration", rtc_configuration)
|
18 |
|