HoneyTian commited on
Commit
bec46dd
·
1 Parent(s): ff8ec88
Files changed (1) hide show
  1. main.py +6 -0
main.py CHANGED
@@ -131,6 +131,12 @@ def main():
131
  inputs=[dn_noisy_audio, dn_engine],
132
  outputs=[dn_enhanced_audio]
133
  )
 
 
 
 
 
 
134
 
135
  # http://127.0.0.1:7864/
136
  blocks.queue().launch(
 
131
  inputs=[dn_noisy_audio, dn_engine],
132
  outputs=[dn_enhanced_audio]
133
  )
134
+ gr.Examples(
135
+ examples=examples,
136
+ inputs=[dn_noisy_audio, dn_engine],
137
+ outputs=[dn_enhanced_audio],
138
+ fn=when_click_denoise_button,
139
+ )
140
 
141
  # http://127.0.0.1:7864/
142
  blocks.queue().launch(