set max_lines to 3 for longer prompts

#10
by akhaliq HF staff - opened
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),