Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,6 +68,7 @@ footer {
|
|
| 68 |
demo = gr.ChatInterface(
|
| 69 |
respond,
|
| 70 |
type='messages',
|
|
|
|
| 71 |
additional_inputs=[
|
| 72 |
gr.Textbox(value="", label="System message"),
|
| 73 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
@@ -89,6 +90,7 @@ demo = gr.ChatInterface(
|
|
| 89 |
# retry_btn="Retry", # unexpected keyword argument 'retry_btn'
|
| 90 |
# undo_btn="Undo",
|
| 91 |
# clear_btn="Clear",
|
|
|
|
| 92 |
# theme="allenai/gradio-theme",
|
| 93 |
# theme="Nymbo/Alyx_Theme",
|
| 94 |
)
|
|
|
|
| 68 |
demo = gr.ChatInterface(
|
| 69 |
respond,
|
| 70 |
type='messages',
|
| 71 |
+
description='chatbox',
|
| 72 |
additional_inputs=[
|
| 73 |
gr.Textbox(value="", label="System message"),
|
| 74 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 90 |
# retry_btn="Retry", # unexpected keyword argument 'retry_btn'
|
| 91 |
# undo_btn="Undo",
|
| 92 |
# clear_btn="Clear",
|
| 93 |
+
stop_btn='Cancel',
|
| 94 |
# theme="allenai/gradio-theme",
|
| 95 |
# theme="Nymbo/Alyx_Theme",
|
| 96 |
)
|