Pijush2023 commited on
Commit
49d592e
·
verified ·
1 Parent(s): 58f24a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -234,7 +234,7 @@ def clear_state():
234
 
235
  # Define the Gradio interface
236
  with gr.Blocks(theme="rawrsor1/Everforest") as demo:
237
- audio_input = gr.Audio(sources=["microphone"], type='numpy', streaming=True, label="Speak to Ask")
238
  transcription_textbox = gr.Textbox(label="Transcription", interactive=False)
239
  submit_voice_btn = gr.Button("Submit Voice")
240
  clear_state_btn = gr.Button("Clear State")
 
234
 
235
  # Define the Gradio interface
236
  with gr.Blocks(theme="rawrsor1/Everforest") as demo:
237
+ audio_input = gr.Audio(sources=["microphone"], type='numpy', streaming=False, label="Speak to Ask")
238
  transcription_textbox = gr.Textbox(label="Transcription", interactive=False)
239
  submit_voice_btn = gr.Button("Submit Voice")
240
  clear_state_btn = gr.Button("Clear State")