soiz1 commited on
Commit
cf4fbfc
·
verified ·
1 Parent(s): b7a23ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -358,9 +358,9 @@ if __name__ == "__main__":
358
  gallery = gr.Gallery(
359
  label="ギャラリー",
360
  value=[item["webp"] for item in gallery_data],
361
- interactive=True,
362
- elem_id="gallery"
363
- ).change(handle_gallery_selection, inputs=gr.Gallery, outputs="参考音声") # Bind the correct inputs and outputs
364
 
365
  inputs = [
366
  gr.Audio(type="filepath", label="元音声"),
 
358
  gallery = gr.Gallery(
359
  label="ギャラリー",
360
  value=[item["webp"] for item in gallery_data],
361
+ interactive=True
362
+ ).change(handle_gallery_selection, inputs=gr.Gallery, outputs="参考音声")
363
+
364
 
365
  inputs = [
366
  gr.Audio(type="filepath", label="元音声"),