Spaces:
Runtime error
Runtime error
Reducing heights of text areas
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
| 93 |
""")
|
| 94 |
# Input
|
| 95 |
input_text = gr.Textbox(
|
| 96 |
-
lines=
|
| 97 |
placeholder="Enter text to translate",
|
| 98 |
label="Text to translate",
|
| 99 |
render=True
|
|
@@ -101,12 +101,12 @@ with gr.Blocks() as demo:
|
|
| 101 |
|
| 102 |
# Output
|
| 103 |
output_text_m2m100 = gr.Textbox(
|
| 104 |
-
lines=
|
| 105 |
label="Facebook m2m100 (1.2B)",
|
| 106 |
render=True
|
| 107 |
)
|
| 108 |
output_text_google_translate = gr.Textbox(
|
| 109 |
-
lines=
|
| 110 |
label="Google Translate",
|
| 111 |
render=True
|
| 112 |
)
|
|
|
|
| 93 |
""")
|
| 94 |
# Input
|
| 95 |
input_text = gr.Textbox(
|
| 96 |
+
lines=5,
|
| 97 |
placeholder="Enter text to translate",
|
| 98 |
label="Text to translate",
|
| 99 |
render=True
|
|
|
|
| 101 |
|
| 102 |
# Output
|
| 103 |
output_text_m2m100 = gr.Textbox(
|
| 104 |
+
lines=4,
|
| 105 |
label="Facebook m2m100 (1.2B)",
|
| 106 |
render=True
|
| 107 |
)
|
| 108 |
output_text_google_translate = gr.Textbox(
|
| 109 |
+
lines=4,
|
| 110 |
label="Google Translate",
|
| 111 |
render=True
|
| 112 |
)
|