Didier commited on
Commit
200d05c
·
1 Parent(s): eadcb10

Reducing heights of text areas

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
93
  """)
94
  # Input
95
  input_text = gr.Textbox(
96
- lines=6,
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=6,
105
  label="Facebook m2m100 (1.2B)",
106
  render=True
107
  )
108
  output_text_google_translate = gr.Textbox(
109
- lines=6,
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
  )