File size: 772 Bytes
df80275 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
import logging
import streamlit as st
logger = logging.getLogger()
st.title("streamlit-webrtc demo!")
st.info(
"""👈 Select the demo
"""
)
if __name__ == "__main__":
import os
DEBUG = os.environ.get("DEBUG", "false").lower() not in ["false", "no", "0"]
logging.basicConfig(
format="[%(asctime)s] %(levelname)7s from %(name)s in %(pathname)s:%(lineno)d: "
"%(message)s",
level=logging.DEBUG if DEBUG else logging.INFO,
force=True,
)
fsevents_logger = logging.getLogger("fsevents")
fsevents_logger.setLevel(logging.WARNING)
aiortc_logger = logging.getLogger("aiortc")
aiortc_logger.setLevel(logging.INFO)
aioice_logger = logging.getLogger("aioice")
aioice_logger.setLevel(logging.INFO)
|