Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,7 +190,7 @@ def process_video(video_path):
|
|
| 190 |
|
| 191 |
def process_audio_from_video(video_path):
|
| 192 |
text_emotion = "Error in text processing" # Initialize text_emotion
|
| 193 |
-
|
| 194 |
try:
|
| 195 |
# Load the video using an alternative library (e.g., ffmpeg or cv2)
|
| 196 |
import ffmpeg
|
|
|
|
| 190 |
|
| 191 |
def process_audio_from_video(video_path):
|
| 192 |
text_emotion = "Error in text processing" # Initialize text_emotion
|
| 193 |
+
text=""
|
| 194 |
try:
|
| 195 |
# Load the video using an alternative library (e.g., ffmpeg or cv2)
|
| 196 |
import ffmpeg
|