Update app_old.py
Browse files- app_old.py +1 -0
app_old.py
CHANGED
@@ -165,6 +165,7 @@ from my knowledge-base but, right now, I am limited to less than 1000 files. LET
|
|
165 |
demo = gr.ChatInterface(
|
166 |
respond,
|
167 |
type = 'messages',
|
|
|
168 |
additional_inputs=[
|
169 |
gr.Textbox(value="You are a helpful and friendly assistant.", label="System message"),
|
170 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
165 |
demo = gr.ChatInterface(
|
166 |
respond,
|
167 |
type = 'messages',
|
168 |
+
submit_btn = True,
|
169 |
additional_inputs=[
|
170 |
gr.Textbox(value="You are a helpful and friendly assistant.", label="System message"),
|
171 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|