Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ if __name__ == '__main__':
|
|
158 |
)
|
159 |
with gr.Row():
|
160 |
with gr.Column():
|
161 |
-
|
162 |
lang = gr.Dropdown(label="Language", choices=["Chinese", "Japanese", "Mix(wrap the Chinese text with [ZH][ZH], wrap the Japanese text with [JA][JA])"],
|
163 |
type="index", value=language)
|
164 |
temp_lang = gr.Variable(value=language)
|
|
|
158 |
)
|
159 |
with gr.Row():
|
160 |
with gr.Column():
|
161 |
+
input_text = gr.Textbox(label="Text (100 words limitation)" if limitation else "Text", lines=5, value=example, elem_id=f"input-text-en-{name_en.replace(' ','')}")
|
162 |
lang = gr.Dropdown(label="Language", choices=["Chinese", "Japanese", "Mix(wrap the Chinese text with [ZH][ZH], wrap the Japanese text with [JA][JA])"],
|
163 |
type="index", value=language)
|
164 |
temp_lang = gr.Variable(value=language)
|