Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def process_video(video, model_option):
|
|
| 132 |
sample_rate,
|
| 133 |
temp_video_path_1)
|
| 134 |
|
| 135 |
-
if model_option == "
|
| 136 |
temp_video_path_2 = tempfile.mktemp(suffix='.mp4')
|
| 137 |
|
| 138 |
plot_2head_attention_video(
|
|
|
|
| 132 |
sample_rate,
|
| 133 |
temp_video_path_1)
|
| 134 |
|
| 135 |
+
if model_option == "sound_and_language": # change to _ _
|
| 136 |
temp_video_path_2 = tempfile.mktemp(suffix='.mp4')
|
| 137 |
|
| 138 |
plot_2head_attention_video(
|