freddyaboulton HF staff commited on
Commit
67cd4a2
1 Parent(s): 465ae44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = None
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