Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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
|