import gradio as gr import numpy as np import time graudio=gr.Audio(type="filepath",show_download_button=True) def test(): return 'test' demo = gr.Interface(,test inputs=[graudio], outputs=[]) if __name__ == "__main__": demo.launch()