Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|