seikin_alexey commited on
Commit
c3452bb
·
1 Parent(s): afc83c1
Files changed (1) hide show
  1. app3.py +1 -1
app3.py CHANGED
@@ -44,6 +44,6 @@ outputs = [gr.outputs.Textbox(label="Predicted Emotion"), gr.outputs.Audio(label
44
 
45
  title = "ML Speech Emotion Detection3"
46
  description = "Speechbrain powered wav2vec 2.0 pretrained model on IEMOCAP dataset using Gradio."
47
-
48
  interface = gr.Interface(fn=predict_emotion, inputs=inputs, outputs=outputs, title=title, description=description)
49
  interface.launch()
 
44
 
45
  title = "ML Speech Emotion Detection3"
46
  description = "Speechbrain powered wav2vec 2.0 pretrained model on IEMOCAP dataset using Gradio."
47
+ sub_btn = gr.Button("Detect Emotion",elem_id="btn")
48
  interface = gr.Interface(fn=predict_emotion, inputs=inputs, outputs=outputs, title=title, description=description)
49
  interface.launch()