Spaces:
Sleeping
Sleeping
Add audio input functionality with default file set to audio.opus
Browse files- audio.opus +0 -0
- inference_webui.py +1 -2
audio.opus
ADDED
|
Binary file (78.2 kB). View file
|
|
|
inference_webui.py
CHANGED
|
@@ -792,8 +792,7 @@ with gr.Blocks(
|
|
| 792 |
analytics_enabled=False,
|
| 793 |
) as app:
|
| 794 |
with gr.Row(equal_height=True):
|
| 795 |
-
inp_ref = gr.Audio(
|
| 796 |
-
# inp_ref
|
| 797 |
ref_text_free = gr.Checkbox(
|
| 798 |
label=i18n("开启无参考文本模式。不填参考文本亦相当于开启。"),
|
| 799 |
value=False,
|
|
|
|
| 792 |
analytics_enabled=False,
|
| 793 |
) as app:
|
| 794 |
with gr.Row(equal_height=True):
|
| 795 |
+
inp_ref = gr.Audio(value="./audio.opus")
|
|
|
|
| 796 |
ref_text_free = gr.Checkbox(
|
| 797 |
label=i18n("开启无参考文本模式。不填参考文本亦相当于开启。"),
|
| 798 |
value=False,
|