NeoPy commited on
Commit
e4c94f1
·
verified ·
1 Parent(s): d2acb4d

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +2 -2
demo.py CHANGED
@@ -27,9 +27,9 @@ with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="blue",neutral_hue=
27
  with gr.Row():
28
  with gr.Column():
29
  with gr.Row():
30
- dropbox = gr.File(label="Drop your audio here & hit the Reload button.")
31
  with gr.Row():
32
- record_button=gr.Audio(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(
 
27
  with gr.Row():
28
  with gr.Column():
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(