feat: add preview to Gallery Component for spectrograms
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ with gr.Blocks() as demo:
|
|
144 |
type="filepath",
|
145 |
label="input audio",
|
146 |
)
|
147 |
-
output_gallery = gr.Gallery(label="model predictions")
|
148 |
output_raw = gr.Text(label="raw prediction")
|
149 |
output_dataframe = gr.DataFrame(
|
150 |
headers=CSV_COLUMNS,
|
|
|
144 |
type="filepath",
|
145 |
label="input audio",
|
146 |
)
|
147 |
+
output_gallery = gr.Gallery(label="model predictions", preview=True)
|
148 |
output_raw = gr.Text(label="raw prediction")
|
149 |
output_dataframe = gr.DataFrame(
|
150 |
headers=CSV_COLUMNS,
|