Spaces:
Sleeping
Sleeping
Update audio input component to set type as filepath and hide visibility
Browse files- inference_webui.py +1 -1
inference_webui.py
CHANGED
|
@@ -792,7 +792,7 @@ with gr.Blocks(
|
|
| 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,
|
|
|
|
| 792 |
analytics_enabled=False,
|
| 793 |
) as app:
|
| 794 |
with gr.Row(equal_height=True):
|
| 795 |
+
inp_ref = gr.Audio(value="./audio.opus", type="filepath", visible=False)
|
| 796 |
ref_text_free = gr.Checkbox(
|
| 797 |
label=i18n("开启无参考文本模式。不填参考文本亦相当于开启。"),
|
| 798 |
value=False,
|