Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import logging
|
2 |
+
import queue
|
3 |
+
from pathlib import Path
|
4 |
+
from typing import List, NamedTuple
|
5 |
+
|
6 |
+
import av
|
7 |
+
import cv2
|
8 |
+
import numpy as np
|
9 |
+
import streamlit as st
|
10 |
+
from streamlit_webrtc import WebRtcMode, webrtc_streamer
|
11 |
+
|
12 |
+
from sample_utils.download import download_file
|
13 |
+
from sample_utils.turn import get_ice_servers
|
14 |
+
|
15 |
+
HERE = Path(__file__).parent
|
16 |
+
ROOT = HERE
|
17 |
+
|
18 |
+
logger = logging.getLogger(__name__)
|
19 |
+
|
20 |
+
st.write("It is visible")
|