Spaces:
Paused
Paused
Update app.py
Browse files
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...',
|