openfree commited on
Commit
a4e794b
·
verified ·
1 Parent(s): 1d39cf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -675,12 +675,9 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, fill_height=True) as demo
675
  title=None,
676
  description=None,
677
  textbox=gr.Textbox(
678
- label="Message",
679
  placeholder="Ask anything... (RAG will be applied if enabled)",
680
- lines=2,
681
- max_lines=10,
682
- autofocus=True,
683
- show_label=False
684
  ),
685
  chatbot=gr.Chatbot(
686
  height=550,
@@ -688,7 +685,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, fill_height=True) as demo
688
  render_markdown=True,
689
  type="messages"
690
  ),
691
- submit_btn=gr.Button("Send", variant="primary", size="lg"),
692
  stop_btn="Stop",
693
  multimodal=False
694
  )
 
675
  title=None,
676
  description=None,
677
  textbox=gr.Textbox(
 
678
  placeholder="Ask anything... (RAG will be applied if enabled)",
679
+ container=False,
680
+ scale=7
 
 
681
  ),
682
  chatbot=gr.Chatbot(
683
  height=550,
 
685
  render_markdown=True,
686
  type="messages"
687
  ),
688
+ submit_btn="Send",
689
  stop_btn="Stop",
690
  multimodal=False
691
  )