Spaces:
Sleeping
Sleeping
dillonlaird
commited on
Commit
•
34474e7
1
Parent(s):
ed3c8a2
added landing logo
Browse files- app.py +2 -0
- assets/landing-logo.svg +1 -0
app.py
CHANGED
@@ -4,6 +4,7 @@ import streamlit as st
|
|
4 |
from pathlib import Path
|
5 |
from landingai.predict import Predictor
|
6 |
from landingai.vision_pipeline import NetworkedCamera, FrameSet
|
|
|
7 |
|
8 |
|
9 |
VIDEO_CACHE_PATH = Path("cached_data")
|
@@ -18,6 +19,7 @@ API_KEY = os.environ["API_KEY"]
|
|
18 |
ENDPOINT_ID = os.environ["ENDPOINT_ID"]
|
19 |
|
20 |
|
|
|
21 |
st.title("Topanga Beach Surfer Counter")
|
22 |
st.write(
|
23 |
"This application will grab the latest 10s clip of surfers from the Topanga Beach surf cam "
|
|
|
4 |
from pathlib import Path
|
5 |
from landingai.predict import Predictor
|
6 |
from landingai.vision_pipeline import NetworkedCamera, FrameSet
|
7 |
+
from landingai.st_utils import render_svg
|
8 |
|
9 |
|
10 |
VIDEO_CACHE_PATH = Path("cached_data")
|
|
|
19 |
ENDPOINT_ID = os.environ["ENDPOINT_ID"]
|
20 |
|
21 |
|
22 |
+
render_svg(Path("./assets/landing-logo.svg").read_text())
|
23 |
st.title("Topanga Beach Surfer Counter")
|
24 |
st.write(
|
25 |
"This application will grab the latest 10s clip of surfers from the Topanga Beach surf cam "
|
assets/landing-logo.svg
ADDED