Spaces:
Build error
Build error
Ubuntu
commited on
Commit
·
2cd5985
1
Parent(s):
67457af
- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -30,7 +30,7 @@ def video_identity(video,user_name,class_name):
|
|
| 30 |
|
| 31 |
img=cv2.imread(class_d+'/frame_0.jpg')
|
| 32 |
|
| 33 |
-
return img,
|
| 34 |
demo = gr.Interface(video_identity,
|
| 35 |
inputs=[gr.Video(source='upload'),
|
| 36 |
gr.Text(),
|
|
|
|
| 30 |
|
| 31 |
img=cv2.imread(class_d+'/frame_0.jpg')
|
| 32 |
|
| 33 |
+
return img, class_d
|
| 34 |
demo = gr.Interface(video_identity,
|
| 35 |
inputs=[gr.Video(source='upload'),
|
| 36 |
gr.Text(),
|
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def video_identity(video,user_name,class_name):
|
|
| 30 |
|
| 31 |
img=cv2.imread(class_d+'/frame_0.jpg')
|
| 32 |
|
| 33 |
-
return img,
|
| 34 |
demo = gr.Interface(video_identity,
|
| 35 |
inputs=[gr.Video(source='upload'),
|
| 36 |
gr.Text(),
|
|
|
|
| 30 |
|
| 31 |
img=cv2.imread(class_d+'/frame_0.jpg')
|
| 32 |
|
| 33 |
+
return img, class_d
|
| 34 |
demo = gr.Interface(video_identity,
|
| 35 |
inputs=[gr.Video(source='upload'),
|
| 36 |
gr.Text(),
|