Ashrafb commited on
Commit
0eed46f
·
1 Parent(s): cdf50fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -85,12 +85,13 @@ def check_input_token_length(message: str, chat_history: list[tuple[str, str]],
85
  raise gr.Error(f'The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Clear your chat history and try again.')
86
 
87
 
88
- with gr.Blocks(css=".gradio-container {background-color: #FFE4C4}") as demo:
89
 
90
  with gr.Group():
91
  chatbot = gr.Chatbot(label='Chatbot')
92
  with gr.Row():
93
  textbox = gr.Textbox(
 
94
  container=False,
95
  show_label=False,
96
  placeholder='Type a message...',
 
85
  raise gr.Error(f'The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Clear your chat history and try again.')
86
 
87
 
88
+ with gr.Blocks(css=".gradio-container {background-color: #FFE4C4} footer{display:none !important;}") as demo:
89
 
90
  with gr.Group():
91
  chatbot = gr.Chatbot(label='Chatbot')
92
  with gr.Row():
93
  textbox = gr.Textbox(
94
+ lines=8,
95
  container=False,
96
  show_label=False,
97
  placeholder='Type a message...',