gpt-omni commited on
Commit
f7f7077
1 Parent(s): 10cc30a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -336,7 +336,7 @@ def process_audio(audio):
336
  # Create the Gradio interface
337
  with gr.Blocks() as demo:
338
  # Input component: allows users to record or upload audio
339
- audio_input = gr.Audio(source="microphone", type="filepath", label="Record or Upload Audio")
340
 
341
  # Output component: audio output that will automatically play
342
  audio_output = gr.Audio(label="Processed Audio", streaming=streaming_output, autoplay=True)
 
336
  # Create the Gradio interface
337
  with gr.Blocks() as demo:
338
  # Input component: allows users to record or upload audio
339
+ audio_input = gr.Audio(type="filepath", label="Record or Upload Audio")
340
 
341
  # Output component: audio output that will automatically play
342
  audio_output = gr.Audio(label="Processed Audio", streaming=streaming_output, autoplay=True)