Update example file path
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks() as demo:
|
|
31 |
with gr.Column():
|
32 |
enhanced_audio = gr.Audio(sources=None, label="Enhanced audio will be found here", format="wav")
|
33 |
with gr.Row():
|
34 |
-
files = gr.FileExplorer(label="Example files", file_count="single", root_dir="
|
35 |
files.change(fn=return_input, inputs=files, outputs=audio_path)
|
36 |
files.change(fn=return_input, inputs=None, outputs=enhanced_audio)
|
37 |
with gr.Row():
|
|
|
31 |
with gr.Column():
|
32 |
enhanced_audio = gr.Audio(sources=None, label="Enhanced audio will be found here", format="wav")
|
33 |
with gr.Row():
|
34 |
+
files = gr.FileExplorer(label="Example files", file_count="single", root_dir="examples", interactive=True)
|
35 |
files.change(fn=return_input, inputs=files, outputs=audio_path)
|
36 |
files.change(fn=return_input, inputs=None, outputs=enhanced_audio)
|
37 |
with gr.Row():
|