whitphx HF staff commited on
Commit
2ce8f5d
1 Parent(s): 1b1efed

Update turn.py

Browse files
Files changed (1) hide show
  1. sample_utils/turn.py +1 -1
sample_utils/turn.py CHANGED
@@ -32,7 +32,7 @@ def get_ice_servers():
32
  try:
33
  token = client.tokens.create()
34
  except TwilioRestException as e:
35
- logger.warning(
36
  f"Error occurred while accessing Twilio API. Fallback to a free STUN server from Google. ({e})" # noqa: E501
37
  )
38
  return [{"urls": ["stun:stun.l.google.com:19302"]}]
 
32
  try:
33
  token = client.tokens.create()
34
  except TwilioRestException as e:
35
+ st.warning(
36
  f"Error occurred while accessing Twilio API. Fallback to a free STUN server from Google. ({e})" # noqa: E501
37
  )
38
  return [{"urls": ["stun:stun.l.google.com:19302"]}]