hagenw commited on
Commit
4789b5d
1 Parent(s): e779703

Use other examples

Browse files
app.py CHANGED
@@ -252,7 +252,15 @@ with gr.Blocks() as demo:
252
  label="Audio input",
253
  min_length=0.025, # seconds
254
  )
255
- gr.Examples(["03a01Fa.wav", "08a04Wc.wav"], [input])
 
 
 
 
 
 
 
 
256
  gr.Markdown("Only the first second of the audio is processed.")
257
  submit_btn = gr.Button(value="Submit")
258
  with gr.Column():
 
252
  label="Audio input",
253
  min_length=0.025, # seconds
254
  )
255
+ gr.Examples(
256
+ [
257
+ "female-24-happy.wav",
258
+ "female-29-angry.wav",
259
+ "male-27-sad.wav",
260
+ "male-38-neutral.wav",
261
+ ],
262
+ [input],
263
+ )
264
  gr.Markdown("Only the first second of the audio is processed.")
265
  submit_btn = gr.Button(value="Submit")
266
  with gr.Column():
female-24-happy.wav ADDED
Binary file (79.1 kB). View file
 
female-29-angry.wav ADDED
Binary file (64.1 kB). View file
 
male-27-sad.wav ADDED
Binary file (84.4 kB). View file
 
male-38-neutral.wav ADDED
Binary file (80.1 kB). View file