krishna-k commited on
Commit
81dba60
·
verified ·
1 Parent(s): 81567e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def process_audio(audio_input):
25
 
26
  interface = gr.Interface(
27
  fn=process_audio, # The function to process audio
28
- inputs=gr.Audio(source="microphone", type="numpy"), # Microphone input (audio)
29
  outputs=gr.Audio(type="numpy"), # Audio output (processed)
30
  live=True # Make the processing live (if needed)
31
  )
 
25
 
26
  interface = gr.Interface(
27
  fn=process_audio, # The function to process audio
28
+ inputs=gr.Audio(type="numpy"), # Microphone input (audio)
29
  outputs=gr.Audio(type="numpy"), # Audio output (processed)
30
  live=True # Make the processing live (if needed)
31
  )