kjysmu commited on
Commit
e881d42
·
verified ·
1 Parent(s): 92c027f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -586,13 +586,13 @@ with gr.Blocks(css=css) as demo:
586
  )
587
 
588
  # Add example usage
589
- gr.Examples(
590
- examples=["inference/input/test.mp3"],
591
- inputs=input_audio,
592
- outputs=output_text,
593
- fn=lambda x: format_prediction(music2emo.predict(x, 0.5)),
594
- cache_examples=True
595
- )
596
 
597
  predict_btn.click(
598
  fn=lambda audio, thresh: format_prediction(music2emo.predict(audio, thresh)),
 
586
  )
587
 
588
  # Add example usage
589
+ # gr.Examples(
590
+ # examples=["inference/input/test.mp3"],
591
+ # inputs=input_audio,
592
+ # outputs=output_text,
593
+ # fn=lambda x: format_prediction(music2emo.predict(x, 0.5)),
594
+ # cache_examples=True
595
+ # )
596
 
597
  predict_btn.click(
598
  fn=lambda audio, thresh: format_prediction(music2emo.predict(audio, thresh)),