Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def process_input(video_stream, conversation_history):
|
|
76 |
audio_emotions = audio_pipeline(audio_data)
|
77 |
if audio_emotions:
|
78 |
audio_emotion = audio_emotions[0]['label']
|
79 |
-
print("Audio emotion:", audio_emotion)
|
80 |
|
81 |
# Recognize audio
|
82 |
text_input = recognizer.recognize_google(audio)
|
|
|
76 |
audio_emotions = audio_pipeline(audio_data)
|
77 |
if audio_emotions:
|
78 |
audio_emotion = audio_emotions[0]['label']
|
79 |
+
print("Audio emotion:", audio_emotion)
|
80 |
|
81 |
# Recognize audio
|
82 |
text_input = recognizer.recognize_google(audio)
|