Daemontatox commited on
Commit
b728ffa
·
verified ·
1 Parent(s): 3a77c9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -202,12 +202,10 @@ def main():
202
  elem_classes=["chat-area"],
203
  )
204
 
205
- # Use Textbox instead of TextArea for Enter key submission
206
- message = gr.Textbox(
207
  placeholder=PLACEHOLDER,
208
  label="Your message",
209
- lines=3,
210
- submit=True, # Enable Enter key submission
211
  )
212
 
213
  with gr.Row():
 
202
  elem_classes=["chat-area"],
203
  )
204
 
205
+ message = gr.TextArea(
 
206
  placeholder=PLACEHOLDER,
207
  label="Your message",
208
+ lines=3
 
209
  )
210
 
211
  with gr.Row():