Baseta commited on
Commit
daa4db1
1 Parent(s): 38ac0a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1534,7 +1534,8 @@ with gr.Blocks(js=js_func, theme=gr.themes.Default(primary_hue="red", secondary_
1534
  with gr.Row():
1535
  dropbox = gr.File(label="Drag your audio file and click refresh.")
1536
  with gr.Row():
1537
- record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
 
1538
  with gr.Row():
1539
  input_audio0 = gr.Dropdown(
1540
  label="2.Choose the audio file.",
 
1534
  with gr.Row():
1535
  dropbox = gr.File(label="Drag your audio file and click refresh.")
1536
  with gr.Row():
1537
+ #record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
1538
+ record_button = gr.Audio(label="Or you can use your microphone!", type="filepath", mode="record")
1539
  with gr.Row():
1540
  input_audio0 = gr.Dropdown(
1541
  label="2.Choose the audio file.",