Teapack1 commited on
Commit
25a1651
1 Parent(s): 75818ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -25,13 +25,11 @@ mic = gr.Interface(
25
  inputs = [
26
  "state", gr.Audio(sources=["microphone"], streaming=True)],
27
  outputs = ["state", "text"],
28
- layout="horizontal",
29
  theme="huggingface",
30
  title="Whisper & BERT demo - Intent Classification",
31
  description=(
32
  "Transcribe audio inputs with Whisper ASR model and detect intention from the text. Use BERT NLP model to classify the intention as one of the commands to command a light."
33
  ),
34
- allow_flagging="never",
35
  live=True,
36
  )
37
 
 
25
  inputs = [
26
  "state", gr.Audio(sources=["microphone"], streaming=True)],
27
  outputs = ["state", "text"],
 
28
  theme="huggingface",
29
  title="Whisper & BERT demo - Intent Classification",
30
  description=(
31
  "Transcribe audio inputs with Whisper ASR model and detect intention from the text. Use BERT NLP model to classify the intention as one of the commands to command a light."
32
  ),
 
33
  live=True,
34
  )
35