NeoPy commited on
Commit
3e8d46f
·
verified ·
1 Parent(s): 08cacf8

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="blue",neutral_hue=
31
  with gr.Row():
32
  dropbox = gr.File(label="Drop your audio here & hit the Reload button.")
33
  with gr.Row():
34
- record_button=gr.Audio(source="microphone", label="OR Record audio.", type="filepath")
35
  with gr.Row():
36
  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')]
37
  input_audio0 = gr.Dropdown(
 
31
  with gr.Row():
32
  dropbox = gr.File(label="Drop your audio here & hit the Reload button.")
33
  with gr.Row():
34
+ record_button=gr.Audio(label="OR Record audio.", type="filepath")
35
  with gr.Row():
36
  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')]
37
  input_audio0 = gr.Dropdown(