Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ if __name__ == '__main__':
|
|
122 |
with gr.TabItem("vits"):
|
123 |
with gr.Row():
|
124 |
with gr.Column():
|
125 |
-
input_text = gr.Textbox(label="Text (
|
126 |
lang = gr.Dropdown(label="Language", choices=["中文", "日语", "中日混合(中文用[ZH][ZH]包裹起来,日文用[JA][JA]包裹起来)"],
|
127 |
type="index", value="中文")
|
128 |
btn = gr.Button(value="Submit")
|
|
|
122 |
with gr.TabItem("vits"):
|
123 |
with gr.Row():
|
124 |
with gr.Column():
|
125 |
+
input_text = gr.Textbox(label="Text (10000 words limitation) " if limitation else "Text", lines=5, value="今天晚上吃啥好呢。", elem_id=f"input-text")
|
126 |
lang = gr.Dropdown(label="Language", choices=["中文", "日语", "中日混合(中文用[ZH][ZH]包裹起来,日文用[JA][JA]包裹起来)"],
|
127 |
type="index", value="中文")
|
128 |
btn = gr.Button(value="Submit")
|