AndrewLam489 commited on
Commit
d4a6f21
1 Parent(s): 4576318

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import streamlit as st
2
- from streamlit_webrtc import webrtc_streamer, WebRtcMode
3
- import av
4
 
5
- st.title("Webcam Display Streamlit App")
6
 
7
- webrtc_streamer(key="example")
 
 
 
 
1
  import streamlit as st
 
 
2
 
3
+ from camera_input_live import camera_input_live
4
 
5
+ image = camera_input_live()
6
+
7
+ if image:
8
+ st.image(image)