Update app.py
Browse files24 unmodified lines2526272829303124 unmodified lines# Create Gradio Interfaceinterface = gr.Interface(fn=display_audio_meter,inputs=gr.Audio(type="file"),outputs=gr.HTML(),live=True # Optionally, you can process live while uploading)24 unmodified lines2526272829303124 unmodified lines# Create Gradio Interfaceinterface = gr.Interface(fn=display_audio_meter,inputs=gr.Audio(type="filepath"), # Use 'filepath' to handle the uploaded file pathoutputs=gr.HTML(),live=True # Optionally, you can process live while uploading)
app.py+1-1