Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -694,6 +694,8 @@ if __name__ == "__main__":
|
|
| 694 |
"参考音声が25秒を超える場合、自動的に25秒にクリップされます。"
|
| 695 |
"また、元音声と参考音声の合計時間が30秒を超える場合、元音声は分割処理されます。")
|
| 696 |
gallery = gr.Gallery(label="ギャラリー", show_label=True, value=[gallery_data["sikokumetan"]["webp"]])
|
|
|
|
|
|
|
| 697 |
inputs = [
|
| 698 |
gr.Audio(type="filepath", label="元音声"),
|
| 699 |
gr.Audio(type="filepath", label="参考音声"),
|
|
@@ -719,6 +721,5 @@ if __name__ == "__main__":
|
|
| 719 |
gr.Audio(label="完全出力音声", streaming=False, format='wav')
|
| 720 |
], title="Seed Voice Conversion", examples=examples, cache_examples=False)
|
| 721 |
|
| 722 |
-
gallery.select(update_reference, outputs=inputs[1])
|
| 723 |
|
| 724 |
interface.launch()
|
|
|
|
| 694 |
"参考音声が25秒を超える場合、自動的に25秒にクリップされます。"
|
| 695 |
"また、元音声と参考音声の合計時間が30秒を超える場合、元音声は分割処理されます。")
|
| 696 |
gallery = gr.Gallery(label="ギャラリー", show_label=True, value=[gallery_data["sikokumetan"]["webp"]])
|
| 697 |
+
gallery.select(update_reference, outputs=inputs[1])
|
| 698 |
+
|
| 699 |
inputs = [
|
| 700 |
gr.Audio(type="filepath", label="元音声"),
|
| 701 |
gr.Audio(type="filepath", label="参考音声"),
|
|
|
|
| 721 |
gr.Audio(label="完全出力音声", streaming=False, format='wav')
|
| 722 |
], title="Seed Voice Conversion", examples=examples, cache_examples=False)
|
| 723 |
|
|
|
|
| 724 |
|
| 725 |
interface.launch()
|