Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def get_audio(audio_path): | |
| print(f"{audio_path=}") | |
| return audio_path | |
| iface = gr.Interface( | |
| fn=get_audio, | |
| inputs=[gr.Audio(type="filepath")], | |
| outputs=[gr.Audio(type="filepath")] | |
| ).launch() | |
| iface.launch() |