app upd
Browse files
app.py
CHANGED
@@ -254,8 +254,9 @@ with gr.Blocks(title="Patient Emotion Recognition", theme="soft") as demo:
|
|
254 |
|
255 |
with gr.Row():
|
256 |
with gr.Column():
|
257 |
-
|
258 |
-
|
|
|
259 |
submit_btn = gr.Button("Analyze Emotions")
|
260 |
|
261 |
with gr.Column():
|
|
|
254 |
|
255 |
with gr.Row():
|
256 |
with gr.Column():
|
257 |
+
# Updated Image component without 'source' parameter
|
258 |
+
video_input = gr.Image(label="Live Camera Feed", streaming=True)
|
259 |
+
audio_input = gr.Audio(label="Voice Input", sources=["microphone"], type="numpy")
|
260 |
submit_btn = gr.Button("Analyze Emotions")
|
261 |
|
262 |
with gr.Column():
|