Spaces:
Runtime error
Runtime error
Update tools/webui.py
Browse files- tools/webui.py +2 -2
tools/webui.py
CHANGED
|
@@ -332,7 +332,7 @@ def build_app():
|
|
| 332 |
reference_text = gr.Textbox(
|
| 333 |
label=i18n("Reference Text"),
|
| 334 |
lines=1,
|
| 335 |
-
placeholder="
|
| 336 |
value="",
|
| 337 |
)
|
| 338 |
with gr.Tab(label=i18n("Batch Inference")):
|
|
@@ -467,7 +467,7 @@ if __name__ == "__main__":
|
|
| 467 |
# Dry run to check if the model is loaded correctly and avoid the first-time latency
|
| 468 |
list(
|
| 469 |
inference(
|
| 470 |
-
text="
|
| 471 |
enable_reference_audio=False,
|
| 472 |
reference_audio=None,
|
| 473 |
reference_text="",
|
|
|
|
| 332 |
reference_text = gr.Textbox(
|
| 333 |
label=i18n("Reference Text"),
|
| 334 |
lines=1,
|
| 335 |
+
placeholder="",
|
| 336 |
value="",
|
| 337 |
)
|
| 338 |
with gr.Tab(label=i18n("Batch Inference")):
|
|
|
|
| 467 |
# Dry run to check if the model is loaded correctly and avoid the first-time latency
|
| 468 |
list(
|
| 469 |
inference(
|
| 470 |
+
text="",
|
| 471 |
enable_reference_audio=False,
|
| 472 |
reference_audio=None,
|
| 473 |
reference_text="",
|