NeoPy commited on
Commit
f46d832
·
verified ·
1 Parent(s): b0e34b8

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="blue",neutral_hue=
29
  with gr.Row():
30
  dropbox = gr.Audio(label="Drop your audio here & hit the Reload button.")
31
  with gr.Row():
32
- record_button=gr.Audio(source="microphone", label="OR Record audio.", type="filepath")
33
  with gr.Row():
34
  paths_for_files = lambda path:[os.path.abspath(os.path.join(path, f)) for f in os.listdir(path) if os.path.splitext(f)[1].lower() in ('.mp3', '.wav', '.flac', '.ogg')]
35
  input_audio0 = gr.Dropdown(
 
29
  with gr.Row():
30
  dropbox = gr.Audio(label="Drop your audio here & hit the Reload button.")
31
  with gr.Row():
32
+ record_button=gr.Audio(sources="microphone", label="OR Record audio.", type="filepath")
33
  with gr.Row():
34
  paths_for_files = lambda path:[os.path.abspath(os.path.join(path, f)) for f in os.listdir(path) if os.path.splitext(f)[1].lower() in ('.mp3', '.wav', '.flac', '.ogg')]
35
  input_audio0 = gr.Dropdown(