Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def create_demo():
|
|
94 |
|
95 |
if text_input is not None:
|
96 |
text_input.change(fn=plotly_plot_text, inputs=text_input, outputs=[text_plot, transcription, top_emotion])
|
97 |
-
elif
|
98 |
audio_input.change(fn=plotly_plot_audio, inputs=audio_input, outputs=[text_plot, transcription, top_emotion])
|
99 |
return demo
|
100 |
|
|
|
94 |
|
95 |
if text_input is not None:
|
96 |
text_input.change(fn=plotly_plot_text, inputs=text_input, outputs=[text_plot, transcription, top_emotion])
|
97 |
+
elif audio_input:
|
98 |
audio_input.change(fn=plotly_plot_audio, inputs=audio_input, outputs=[text_plot, transcription, top_emotion])
|
99 |
return demo
|
100 |
|