Spaces:
Runtime error
Runtime error
Ubuntu commited on
Commit ·
2379ea0
1
Parent(s): 2d36d9d
init
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -101,7 +101,7 @@ def video_identity(video,user_name,class_name,trainortest,ready):
|
|
| 101 |
|
| 102 |
else:
|
| 103 |
capture = cv2.VideoCapture(video)
|
| 104 |
-
shm=sysctl kernel.shmmax
|
| 105 |
user_d=str(user_name)+'/'+str(trainortest)
|
| 106 |
class_d=str(user_name)+'/'+str(trainortest)+'/'+str(class_name)
|
| 107 |
if not os.path.exists(user_d):
|
|
|
|
| 101 |
|
| 102 |
else:
|
| 103 |
capture = cv2.VideoCapture(video)
|
| 104 |
+
shm=!sysctl kernel.shmmax
|
| 105 |
user_d=str(user_name)+'/'+str(trainortest)
|
| 106 |
class_d=str(user_name)+'/'+str(trainortest)+'/'+str(class_name)
|
| 107 |
if not os.path.exists(user_d):
|
app.py
CHANGED
|
@@ -101,7 +101,7 @@ def video_identity(video,user_name,class_name,trainortest,ready):
|
|
| 101 |
|
| 102 |
else:
|
| 103 |
capture = cv2.VideoCapture(video)
|
| 104 |
-
shm=sysctl kernel.shmmax
|
| 105 |
user_d=str(user_name)+'/'+str(trainortest)
|
| 106 |
class_d=str(user_name)+'/'+str(trainortest)+'/'+str(class_name)
|
| 107 |
if not os.path.exists(user_d):
|
|
|
|
| 101 |
|
| 102 |
else:
|
| 103 |
capture = cv2.VideoCapture(video)
|
| 104 |
+
shm=!sysctl kernel.shmmax
|
| 105 |
user_d=str(user_name)+'/'+str(trainortest)
|
| 106 |
class_d=str(user_name)+'/'+str(trainortest)+'/'+str(class_name)
|
| 107 |
if not os.path.exists(user_d):
|