achouffe commited on
Commit
6d518d4
1 Parent(s): 481da55

feat: add preview to Gallery Component for spectrograms

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,