whitphx HF Staff commited on
Commit
69afee6
·
1 Parent(s): 6a7aaf4

Show version for debug

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- from streamlit_webrtc import webrtc_streamer, get_twilio_ice_servers
3
 
4
  frontend_ice_type = st.selectbox("Frontend ICE type", ["Empty", "Google STUN", "Twilio TURN"])
5
  backend_ice_type = st.selectbox("Backend ICE type", ["Empty", "Google STUN", "Twilio TURN"])
@@ -45,3 +45,6 @@ webrtc_streamer(
45
  frontend_rtc_configuration=frontend_rtc_configuration,
46
  server_rtc_configuration=backend_rtc_configuration,
47
  )
 
 
 
 
1
  import streamlit as st
2
+ from streamlit_webrtc import webrtc_streamer, get_twilio_ice_servers, __version__ as st_webrtc_version
3
 
4
  frontend_ice_type = st.selectbox("Frontend ICE type", ["Empty", "Google STUN", "Twilio TURN"])
5
  backend_ice_type = st.selectbox("Backend ICE type", ["Empty", "Google STUN", "Twilio TURN"])
 
45
  frontend_rtc_configuration=frontend_rtc_configuration,
46
  server_rtc_configuration=backend_rtc_configuration,
47
  )
48
+
49
+ st.write(f"Streamlit version: {st.__version__}")
50
+ st.write(f"Streamlit-Webrtc version: {st_webrtc_version}")