multimodalart HF staff akhaliq HF staff commited on
Commit
422e717
1 Parent(s): 9969d3a

set max_lines to 3 for longer prompts (#10)

Browse files

- set max_lines to 3 for longer prompts (24465304571126153657e9efacd8a30f9a46c721)


Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>

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),