whitphx HF Staff commited on
Commit
9f032dc
·
1 Parent(s): 9b47799

Update sample_utils/turn.py removing the cache

Browse files
Files changed (1) hide show
  1. sample_utils/turn.py +1 -2
sample_utils/turn.py CHANGED
@@ -2,13 +2,12 @@ import logging
2
  import os
3
 
4
  import streamlit as st
5
- from twilio.rest import Client
6
  from twilio.base.exceptions import TwilioRestException
 
7
 
8
  logger = logging.getLogger(__name__)
9
 
10
 
11
- @st.cache_data # type: ignore
12
  def get_ice_servers():
13
  """Use Twilio's TURN server because Streamlit Community Cloud has changed
14
  its infrastructure and WebRTC connection cannot be established without TURN server now. # noqa: E501
 
2
  import os
3
 
4
  import streamlit as st
 
5
  from twilio.base.exceptions import TwilioRestException
6
+ from twilio.rest import Client
7
 
8
  logger = logging.getLogger(__name__)
9
 
10
 
 
11
  def get_ice_servers():
12
  """Use Twilio's TURN server because Streamlit Community Cloud has changed
13
  its infrastructure and WebRTC connection cannot be established without TURN server now. # noqa: E501