Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ import numpy as np
|
|
| 8 |
emotion_labels = {0: 'neutral', 1: 'calm', 2: 'happy', 3: 'sad', 4: 'angry', 5: 'fearful'}
|
| 9 |
|
| 10 |
def process_video_audio(video_path, audio_path):
|
|
|
|
|
|
|
| 11 |
train_visual = np.zeros([1, 120, 120, 3, 10])
|
| 12 |
train_audio_wave = np.zeros([1, 261540])
|
| 13 |
train_audio_cnn = np.zeros([1, 150, 512, 1])
|
|
|
|
| 8 |
emotion_labels = {0: 'neutral', 1: 'calm', 2: 'happy', 3: 'sad', 4: 'angry', 5: 'fearful'}
|
| 9 |
|
| 10 |
def process_video_audio(video_path, audio_path):
|
| 11 |
+
print(type(video_path))
|
| 12 |
+
print(type(audio_path))
|
| 13 |
train_visual = np.zeros([1, 120, 120, 3, 10])
|
| 14 |
train_audio_wave = np.zeros([1, 261540])
|
| 15 |
train_audio_cnn = np.zeros([1, 150, 512, 1])
|