jcvsalinas commited on
Commit
3b66fb1
·
verified ·
1 Parent(s): 7f3ccfc

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -20,6 +20,7 @@ def record_audio(audio):
20
  # Define the Gradio interface
21
  gr.Interface(
22
  fn=record_audio,
 
23
  inputs=gr.Audio(type="numpy"), # Capture audio as numpy array
24
  outputs="plot", # Output the waveform plot
25
  live=True, # Enable real-time recording
 
20
  # Define the Gradio interface
21
  gr.Interface(
22
  fn=record_audio,
23
+ theme= gr.themes.Soft(),
24
  inputs=gr.Audio(type="numpy"), # Capture audio as numpy array
25
  outputs="plot", # Output the waveform plot
26
  live=True, # Enable real-time recording