Antonio
commited on
Commit
·
7c883cc
1
Parent(s):
1409877
removed video path from returned predictions json
Browse files
app.py
CHANGED
|
@@ -215,8 +215,7 @@ def predict(video_file, video_model_name, audio_model_name, framework_name):
|
|
| 215 |
return {
|
| 216 |
"Video Label": highest_video_emotion,
|
| 217 |
"Audio Label": highest_audio_emotion,
|
| 218 |
-
"Consensus Label": consensus_label
|
| 219 |
-
"Video Path": video_path # Update this line to return the correct video path
|
| 220 |
}
|
| 221 |
|
| 222 |
inputs = [
|
|
|
|
| 215 |
return {
|
| 216 |
"Video Label": highest_video_emotion,
|
| 217 |
"Audio Label": highest_audio_emotion,
|
| 218 |
+
"Consensus Label": consensus_label
|
|
|
|
| 219 |
}
|
| 220 |
|
| 221 |
inputs = [
|