Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ if input_method == "Live Camera":
|
|
117 |
|
118 |
if run_camera:
|
119 |
try:
|
120 |
-
cap = cv2.VideoCapture(
|
121 |
if not cap.isOpened():
|
122 |
st.error("Could not access camera. Please:")
|
123 |
st.markdown("""
|
|
|
117 |
|
118 |
if run_camera:
|
119 |
try:
|
120 |
+
cap = cv2.VideoCapture(1)
|
121 |
if not cap.isOpened():
|
122 |
st.error("Could not access camera. Please:")
|
123 |
st.markdown("""
|