awacke1 commited on
Commit
6f02d87
·
1 Parent(s): 729924d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ with demo:
29
  b1 = gr.Button("Recognize Speech")
30
  b2 = gr.Button("Classify Sentiment")
31
 
32
- b0.click(transcribe, inputs=microphone, outputs=[text, "state"], live=True)
33
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
34
  b2.click(text_to_sentiment, inputs=text, outputs=label)
35
 
 
29
  b1 = gr.Button("Recognize Speech")
30
  b2 = gr.Button("Classify Sentiment")
31
 
32
+ b0.click(transcribe, inputs=[microphone, "state"], outputs=[text, "state"], live=True)
33
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
34
  b2.click(text_to_sentiment, inputs=text, outputs=label)
35