akhaliq HF staff commited on
Commit
2446530
1 Parent(s): 9969d3a

set max_lines to 3 for longer prompts

Browse files

increase max lines visible in text area for longer prompts

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ with block:
230
  text = gr.Textbox(
231
  label="Enter your prompt",
232
  show_label=False,
233
- max_lines=1,
234
  placeholder="Enter your prompt",
235
  ).style(
236
  border=(True, False, True, True),
230
  text = gr.Textbox(
231
  label="Enter your prompt",
232
  show_label=False,
233
+ max_lines=3,
234
  placeholder="Enter your prompt",
235
  ).style(
236
  border=(True, False, True, True),