Spaces:
Running
on
Zero
Running
on
Zero
Update multipurpose_chatbot/demos/chat_interface.py
Browse files
multipurpose_chatbot/demos/chat_interface.py
CHANGED
@@ -56,6 +56,7 @@ from ..configs import (
|
|
56 |
MODEL_NAME,
|
57 |
MAX_TOKENS,
|
58 |
TEMPERATURE,
|
|
|
59 |
)
|
60 |
|
61 |
from ..globals import MODEL_ENGINE
|
@@ -683,6 +684,7 @@ class ChatInterfaceDemo(BaseDemo):
|
|
683 |
{ "left": "$$", "right": "$$", "display": True},
|
684 |
],
|
685 |
show_copy_button=True,
|
|
|
686 |
),
|
687 |
textbox=gr.Textbox(placeholder='Type message', lines=1, max_lines=128, min_width=200, scale=8),
|
688 |
submit_btn=gr.Button(value='Submit', variant="primary", scale=0),
|
|
|
56 |
MODEL_NAME,
|
57 |
MAX_TOKENS,
|
58 |
TEMPERATURE,
|
59 |
+
CHATBOT_HEIGHT,
|
60 |
)
|
61 |
|
62 |
from ..globals import MODEL_ENGINE
|
|
|
684 |
{ "left": "$$", "right": "$$", "display": True},
|
685 |
],
|
686 |
show_copy_button=True,
|
687 |
+
height=CHATBOT_HEIGHT,
|
688 |
),
|
689 |
textbox=gr.Textbox(placeholder='Type message', lines=1, max_lines=128, min_width=200, scale=8),
|
690 |
submit_btn=gr.Button(value='Submit', variant="primary", scale=0),
|