Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
9cd3f82
1
Parent(s):
274649e
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 base64
|
5 |
import re
|
@@ -10,9 +10,8 @@ load_dotenv()
|
|
10 |
|
11 |
spinner_html = open("spinner.html").read()
|
12 |
|
13 |
-
rtc_configuration =
|
14 |
|
15 |
-
print("rtc_configuration", rtc_configuration)
|
16 |
|
17 |
import logging
|
18 |
# Configure the root logger to WARNING to suppress debug messages from other libraries
|
|
|
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 base64
|
5 |
import re
|
|
|
10 |
|
11 |
spinner_html = open("spinner.html").read()
|
12 |
|
13 |
+
rtc_configuration = get_twilio_turn_credentials()
|
14 |
|
|
|
15 |
|
16 |
import logging
|
17 |
# Configure the root logger to WARNING to suppress debug messages from other libraries
|